File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,15 @@ module "vpc" {
99
1010 cidr = " 10.0.0.0/16"
1111
12- azs = [" eu-west-1a" , " eu-west-1b" , " euw1-az3" ]
13- private_subnets = [" 10.0.1.0/24" , " 10.0.2.0/24" , " 10.0.3.0/24" ]
14- public_subnets = [" 10.0.101.0/24" , " 10.0.102.0/24" , " 10.0.103.0/24" ]
15-
16- enable_ipv6 = true
12+ azs = [" eu-west-1a" , " eu-west-1b" , " euw1-az3" ]
13+ private_subnets = [" 10.0.1.0/24" , " 10.0.2.0/24" ]
14+ database_subnets = [" 10.0.5.0/24" ]
15+ public_subnets = [" 10.0.101.0/24" , " 10.0.102.0/24" , " 10.0.103.0/24" , " 10.0.104.0/24" ]
1716
1817 enable_nat_gateway = true
19- single_nat_gateway = true
18+ # single_nat_gateway = true
19+
20+ create_database_subnet_group = false
2021
2122 public_subnet_tags = {
2223 Name = " overridden-name-public"
Original file line number Diff line number Diff line change 55 length (var. database_subnets ),
66 length (var. redshift_subnets ),
77 )
8- nat_gateway_count = var. single_nat_gateway ? 1 : var. one_nat_gateway_per_az ? length (var. azs ) : local. max_subnet_length
8+ nat_gateway_count = var. single_nat_gateway ? 1 : var. one_nat_gateway_per_az ? length (var. azs ) : local. max_subnet_length < length (var . public_subnets ) ? local . max_subnet_length : length (var . public_subnets )
99
1010 # Use `local.vpc_id` to give a hint to Terraform that subnets should be deleted before secondary CIDR blocks can be free!
1111 vpc_id = element (
You can’t perform that action at this time.
0 commit comments