diff --git a/examples/full-setup-tf-upgrade/variables.subnets.tf b/examples/full-setup-tf-upgrade/variables.subnets.tf index bca5c2f..75f328b 100644 --- a/examples/full-setup-tf-upgrade/variables.subnets.tf +++ b/examples/full-setup-tf-upgrade/variables.subnets.tf @@ -1,12 +1,15 @@ -# from aws-vpc-setup/subnets +# from aws-vpc-setup/subnets/variables.common.subnets.tf variable "public_subnets" { description = "List of objects with public subnet information to be created" type = list(object({ - base_cidr = string - label = string - bits = number - private = bool - tags = map(string) + base_cidr = string + label = string + bits = number + offset = optional(number, 0) + private = bool + tags = map(string) + enabled = optional(bool, true) + availability_zone = optional(string) # subnets = list(string) # labels = list(string) # availability_zones = list(string) @@ -14,14 +17,18 @@ variable "public_subnets" { default = [] } +# availability_zone does nothign at this point variable "private_subnets" { description = "List of objects with private subnet information to be created" type = list(object({ - base_cidr = string - label = string - bits = number - private = bool - tags = map(string) + base_cidr = string + label = string + bits = number + offset = optional(number, 0) + private = bool + tags = map(string) + enabled = optional(bool, true) + availability_zone = optional(string) # subnets = list(string) # labels = list(string) # availability_zones = list(string)