Make ip_interfaceX not optional

These IP values are optional, if you don't specify a value Google will try to
find a free IP address. But this is a bad idea because setting them to 'null'
forces a replacement even without any changes to make.
This commit is contained in:
Julio Diez
2023-03-09 10:22:14 +01:00
parent 84d3b83f81
commit eef6a48876

View File

@@ -60,8 +60,8 @@ variable "router_config" {
all_subnets = bool
ip_ranges = map(string) # map of descriptions and address ranges
}))
ip_interface1 = optional(string)
ip_interface2 = optional(string)
ip_interface1 = string
ip_interface2 = string
keepalive = optional(number)
peer_asn = number
})