ad_gpo
manages Group Policy Objects (GPOs).
variable "domain" { default = "yourdomain.com" }
variable "name" { default = "tfGPO" }
resource "ad_gpo" "gpo" {
name = var.name
domain = var.domain
}
name
(String) Name of the GPO.description
(String) Description of the GPO.domain
(String) Domain of the GPO.id
(String) The ID of this resource.status
(String) Status of the GPO. Can be one of AllSettingsEnabled
, UserSettingsDisabled
, ComputerSettingsDisabled
, or AllSettingsDisabled
(case sensitive).dn
(String)numeric_status
(Number)Import is supported using the following syntax:
$ terraform import ad_gpo 9CB8219C-31FF-4A85-A7A3-9BCBB6A41D02