tfwriter

Terraform HCL code generator.

Download as .zip Download as .tar.gz View on GitHub

ad_group

back

Index

Terraform

terraform {
  required_providers {
    ad = ">= 0.4.1"
  }
}

top

Example Usage

module "ad_group" {
  source = "./modules/ad/d/ad_group"

  # group_id - (required) is a type of string
  group_id = null
}

top

Variables

variable "group_id" {
  description = "(required) - The group's identifier. It can be the group's GUID, SID, Distinguished Name, or SAM Account Name."
  type        = string
}

top

Datasource

data "ad_group" "this" {
  # group_id - (required) is a type of string
  group_id = var.group_id
}

top

Outputs

output "category" {
  description = "returns a string"
  value       = data.ad_group.this.category
}

output "container" {
  description = "returns a string"
  value       = data.ad_group.this.container
}

output "display_name" {
  description = "returns a string"
  value       = data.ad_group.this.display_name
}

output "id" {
  description = "returns a string"
  value       = data.ad_group.this.id
}

output "name" {
  description = "returns a string"
  value       = data.ad_group.this.name
}

output "sam_account_name" {
  description = "returns a string"
  value       = data.ad_group.this.sam_account_name
}

output "scope" {
  description = "returns a string"
  value       = data.ad_group.this.scope
}

output "this" {
  value = ad_group.this
}

top