ad_ou (Data Source)

Get the details of an Organizational Unit Active Directory object.

Example Usage

data "ad_ou" "g" {
    dn = "OU=SomeOU,dc=yourdomain,dc=com"
}

output "ou_uuid" {
    value = data.ad_ou.g.id
}

Schema

Optional

Read-Only