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_service_directory_namespace" {
source="./modules/google-beta/r/google_service_directory_namespace"# labels - (optional) is a type of map of stringlabels={}
# location - (required) is a type of stringlocation=null# namespace_id - (required) is a type of stringnamespace_id=null# project - (optional) is a type of stringproject=nulltimeouts=[{
create =null
delete =null
update =null
}]
}
variable"labels" {
description="(optional) - Resource labels associated with this Namespace. No more than 64 user\nlabels can be associated with a given resource. Label keys and values can\nbe no longer than 63 characters."type=map(string)
default=null
}
variable"location" {
description="(required) - The location for the Namespace.\nA full list of valid locations can be found by running\n'gcloud beta service-directory locations list'."type=string
}
variable"namespace_id" {
description="(required) - The Resource ID must be 1-63 characters long, including digits,\nlowercase letters or the hyphen character."type=string
}
variable"project" {
description="(optional)"type=stringdefault=null
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
update =string
}
))
default=[]
}
resource"google_service_directory_namespace""this" {
# labels - (optional) is a type of map of stringlabels=var.labels# location - (required) is a type of stringlocation=var.location# namespace_id - (required) is a type of stringnamespace_id=var.namespace_id# project - (optional) is a type of stringproject=var.projectdynamic"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"]
}
}
}