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_compute_vpn_gateway" {
source="./modules/google-beta/r/google_compute_vpn_gateway"# description - (optional) is a type of stringdescription=null# name - (required) is a type of stringname=null# network - (required) is a type of stringnetwork=null# project - (optional) is a type of stringproject=null# region - (optional) is a type of stringregion=nulltimeouts=[{
create =null
delete =null
}]
}
variable"description" {
description="(optional) - An optional description of this resource."type=stringdefault=null
}
variable"name" {
description="(required) - Name of the resource. Provided by the client when the resource is\ncreated. The name must be 1-63 characters long, and comply with\nRFC1035. Specifically, the name must be 1-63 characters long and\nmatch the regular expression '[a-z]([-a-z0-9]*[a-z0-9])?' which means\nthe first character must be a lowercase letter, and all following\ncharacters must be a dash, lowercase letter, or digit, except the last\ncharacter, which cannot be a dash."type=string
}
variable"network" {
description="(required) - The network this VPN gateway is accepting traffic for."type=string
}
variable"project" {
description="(optional)"type=stringdefault=null
}
variable"region" {
description="(optional) - The region this gateway should sit in."type=stringdefault=null
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
}
))
default=[]
}
resource"google_compute_vpn_gateway""this" {
# description - (optional) is a type of stringdescription=var.description# name - (required) is a type of stringname=var.name# network - (required) is a type of stringnetwork=var.network# project - (optional) is a type of stringproject=var.project# region - (optional) is a type of stringregion=var.regiondynamic"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"]
}
}
}