Make optional some router config fields
This commit is contained in:
parent
25b14465b2
commit
65671647e7
|
@ -46,13 +46,13 @@ variable "spokes" {
|
|||
ip = string
|
||||
}))
|
||||
router = object({
|
||||
custom_advertise = object({
|
||||
custom_advertise = optional(object({
|
||||
all_subnets = bool
|
||||
ip_ranges = map(string) # map of descriptions and address ranges
|
||||
})
|
||||
}))
|
||||
ip1 = string
|
||||
ip2 = string
|
||||
keepalive = number
|
||||
keepalive = optional(number)
|
||||
peer_asn = number
|
||||
})
|
||||
}))
|
||||
|
|
Loading…
Reference in New Issue