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:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user