Make VPC creation optional in net-vpc module

This commit is contained in:
Julio Castillo
2020-08-31 14:09:28 +02:00
parent 0ca0f8e81b
commit 067f072c26
5 changed files with 34 additions and 14 deletions

View File

@@ -143,3 +143,9 @@ variable "subnet_private_access" {
type = map(bool)
default = {}
}
variable "vpc_create" {
description = "Create VPC. When set to false, uses a data source to reference existing VPC."
type = bool
default = true
}