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_monitoring_custom_service" {
source="./modules/google-beta/r/google_monitoring_custom_service"# display_name - (optional) is a type of stringdisplay_name=null# project - (optional) is a type of stringproject=null# service_id - (optional) is a type of stringservice_id=nulltelemetry=[{
resource_name =null
}]
timeouts=[{
create =null
delete =null
update =null
}]
}
variable"display_name" {
description="(optional) - Name used for UI elements listing this Service."type=stringdefault=null
}
variable"project" {
description="(optional)"type=stringdefault=null
}
variable"service_id" {
description="(optional) - An optional service ID to use. If not given, the server will generate a\nservice ID."type=stringdefault=null
}
variable"telemetry" {
description="nested block: NestingList, min items: 0, max items: 1"type=set(object(
{
resource_name =string
}
))
default=[]
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
update =string
}
))
default=[]
}
resource"google_monitoring_custom_service""this" {
# display_name - (optional) is a type of stringdisplay_name=var.display_name# project - (optional) is a type of stringproject=var.project# service_id - (optional) is a type of stringservice_id=var.service_iddynamic"telemetry" {
for_each=var.telemetrycontent {
# resource_name - (optional) is a type of stringresource_name=telemetry.value["resource_name"]
}
}
dynamic"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"]
}
}
}