Make optional some router config fields

This commit is contained in:
Julio Diez 2023-03-06 20:45:08 +01:00
parent 25b14465b2
commit 65671647e7
1 changed files with 3 additions and 3 deletions

View File

@ -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
})
}))