add l7ilb subnets to net-vpc module

This commit is contained in:
Ludovico Magnocavallo
2021-10-18 09:52:28 +02:00
parent a1dea79c9d
commit bf5e1e5b4a
4 changed files with 57 additions and 7 deletions

View File

@@ -168,17 +168,27 @@ variable "subnet_private_access" {
}
variable "subnets" {
description = "The list of subnets being created"
description = "List of subnets being created."
type = list(object({
name = string
ip_cidr_range = string
name = string
region = string
secondary_ip_range = map(string)
}))
default = []
}
variable "subnets_l7ilb" {
description = "List of subnets for private HTTPS load balancer."
type = list(object({
active = bool
name = string
ip_cidr_range = string
region = string
}))
default = []
}
variable "vpc_create" {
description = "Create VPC. When set to false, uses a data source to reference existing VPC."
type = bool