Skip to content

Commit

Permalink
update variables subnets file
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jan 20, 2023
1 parent 502c25a commit 2258628
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions examples/full-setup-tf-upgrade/variables.subnets.tf
Original file line number Diff line number Diff line change
@@ -1,27 +1,34 @@
# 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)
}))
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)
Expand Down

0 comments on commit 2258628

Please sign in to comment.