Refactor net-vpc module for Terraform 1.3 (#880)
* module tests pass * doc examples * refactor blueprints * fast stages * fix comment typo * fix module factory test
This commit is contained in:
committed by
GitHub
parent
1ead60122d
commit
4fa1dc431d
@@ -58,10 +58,9 @@ module "vpc" {
|
||||
name = var.network
|
||||
subnets = var.project_create != null ? [
|
||||
{
|
||||
ip_cidr_range = var.vpc_ip_cidr_range
|
||||
name = var.subnetwork
|
||||
region = var.region
|
||||
secondary_ip_range = {}
|
||||
ip_cidr_range = var.vpc_ip_cidr_range
|
||||
name = var.subnetwork
|
||||
region = var.region
|
||||
}
|
||||
] : []
|
||||
vpc_create = var.project_create != null ? true : false
|
||||
|
||||
Reference in New Issue
Block a user