refactored to recommended method

This commit is contained in:
Dave Gulli
2023-09-12 14:58:49 +10:00
parent db5030e93f
commit 5f2bc7fa92
7 changed files with 28 additions and 74 deletions

View File

@@ -227,27 +227,15 @@ variable "subnets" {
nullable = false
}
variable "subnets_global_proxy_only" {
description = "List of proxy-only subnets for Cross-region Internal HTTPS load balancers. Note: Only one proxy-only subnet for each VPC network in each region can be active."
type = list(object({
name = string
ip_cidr_range = string
region = string
description = optional(string)
active = bool
}))
default = []
nullable = false
}
variable "subnets_proxy_only" {
description = "List of proxy-only subnets for Regional HTTPS or Internal HTTPS load balancers. Note: Only one proxy-only subnet for each VPC network in each region can be active."
description = "List of proxy-only subnets for Regional HTTPS or Internal HTTPS load balancers. Note: Only one proxy-only subnet for each VPC network in each region can be active."
type = list(object({
name = string
ip_cidr_range = string
region = string
description = optional(string)
active = bool
global = optional(bool, false)
}))
default = []
nullable = false