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_network_management_connectivity_test" {
source=[{
instance =null
ip_address =null
network =null
network_type =null
port =null
project_id =null
}]
# description - (optional) is a type of stringdescription=null# labels - (optional) is a type of map of stringlabels={}
# name - (required) is a type of stringname=null# project - (optional) is a type of stringproject=null# protocol - (optional) is a type of stringprotocol=null# related_projects - (optional) is a type of list of stringrelated_projects=[]
destination=[{
instance =null
ip_address =null
network =null
port =null
project_id =null
}]
timeouts=[{
create =null
delete =null
update =null
}]
}
variable"description" {
description="(optional) - The user-supplied description of the Connectivity Test.\nMaximum of 512 characters."type=stringdefault=null
}
variable"labels" {
description="(optional) - Resource labels to represent user-provided metadata."type=map(string)
default=null
}
variable"name" {
description="(required) - Unique name for the connectivity test."type=string
}
variable"project" {
description="(optional)"type=stringdefault=null
}
variable"protocol" {
description="(optional) - IP Protocol of the test. When not provided, \"TCP\" is assumed."type=stringdefault=null
}
variable"related_projects" {
description="(optional) - Other projects that may be relevant for reachability analysis.\nThis is applicable to scenarios where a test can cross project\nboundaries."type=list(string)
default=null
}
variable"destination" {
description="nested block: NestingList, min items: 1, max items: 1"type=set(object(
{
instance =string
ip_address =string
network =string
port =number
project_id =string
}
))
}
variable"source" {
description="nested block: NestingList, min items: 1, max items: 1"type=set(object(
{
instance =string
ip_address =string
network =string
network_type =string
port =number
project_id =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_network_management_connectivity_test""this" {
# description - (optional) is a type of stringdescription=var.description# labels - (optional) is a type of map of stringlabels=var.labels# name - (required) is a type of stringname=var.name# project - (optional) is a type of stringproject=var.project# protocol - (optional) is a type of stringprotocol=var.protocol# related_projects - (optional) is a type of list of stringrelated_projects=var.related_projectsdynamic"destination" {
for_each=var.destinationcontent {
# instance - (optional) is a type of stringinstance=destination.value["instance"]
# ip_address - (optional) is a type of stringip_address=destination.value["ip_address"]
# network - (optional) is a type of stringnetwork=destination.value["network"]
# port - (optional) is a type of numberport=destination.value["port"]
# project_id - (optional) is a type of stringproject_id=destination.value["project_id"]
}
}
dynamic"source" {
for_each=var.sourcecontent {
# instance - (optional) is a type of stringinstance=source.value["instance"]
# ip_address - (optional) is a type of stringip_address=source.value["ip_address"]
# network - (optional) is a type of stringnetwork=source.value["network"]
# network_type - (optional) is a type of stringnetwork_type=source.value["network_type"]
# port - (optional) is a type of numberport=source.value["port"]
# project_id - (optional) is a type of stringproject_id=source.value["project_id"]
}
}
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"]
}
}
}