tfwriter

Terraform HCL code generator.

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

ad_gpo

back

Index

Terraform

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

top

Example Usage

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

  # guid - (optional) is a type of string
  guid = null
  # name - (optional) is a type of string
  name = null
}

top

Variables

variable "guid" {
  description = "(optional) - GUID of the GPO."
  type        = string
  default     = null
}

variable "name" {
  description = "(optional) - Name of the GPO."
  type        = string
  default     = null
}

top

Datasource

data "ad_gpo" "this" {
  # guid - (optional) is a type of string
  guid = var.guid
  # name - (optional) is a type of string
  name = var.name
}

top

Outputs

output "domain" {
  description = "returns a string"
  value       = data.ad_gpo.this.domain
}

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

output "this" {
  value = ad_gpo.this
}

top