You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"google_active_directory_domain" {
source="./modules/google-beta/r/google_active_directory_domain"# admin - (optional) is a type of stringadmin=null# authorized_networks - (optional) is a type of set of stringauthorized_networks=[]
# domain_name - (required) is a type of stringdomain_name=null# labels - (optional) is a type of map of stringlabels={}
# locations - (required) is a type of list of stringlocations=[]
# project - (optional) is a type of stringproject=null# reserved_ip_range - (required) is a type of stringreserved_ip_range=nulltimeouts=[{
create =null
delete =null
update =null
}]
}
variable"admin" {
description="(optional) - The name of delegated administrator account used to perform Active Directory operations. \nIf not specified, setupadmin will be used."type=stringdefault=null
}
variable"authorized_networks" {
description="(optional) - The full names of the Google Compute Engine networks the domain instance is connected to. The domain is only available on networks listed in authorizedNetworks.\nIf CIDR subnets overlap between networks, domain creation will fail."type=set(string)
default=null
}
variable"domain_name" {
description="(required) - The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions, \nhttps://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains."type=string
}
variable"labels" {
description="(optional) - Resource labels that can contain user-provided metadata"type=map(string)
default=null
}
variable"locations" {
description="(required) - Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] \ne.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block."type=list(string)
}
variable"project" {
description="(optional)"type=stringdefault=null
}
variable"reserved_ip_range" {
description="(required) - The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. \nRanges must be unique and non-overlapping with existing subnets in authorizedNetworks"type=string
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
update =string
}
))
default=[]
}
resource"google_active_directory_domain""this" {
# admin - (optional) is a type of stringadmin=var.admin# authorized_networks - (optional) is a type of set of stringauthorized_networks=var.authorized_networks# domain_name - (required) is a type of stringdomain_name=var.domain_name# labels - (optional) is a type of map of stringlabels=var.labels# locations - (required) is a type of list of stringlocations=var.locations# project - (optional) is a type of stringproject=var.project# reserved_ip_range - (required) is a type of stringreserved_ip_range=var.reserved_ip_rangedynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}