File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -9,15 +9,14 @@ module "vpc" {
9
9
10
10
cidr = " 10.0.0.0/16"
11
11
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" ]
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" ]
16
15
17
- enable_nat_gateway = true
18
- # single_nat_gateway = true
16
+ enable_ipv6 = true
19
17
20
- create_database_subnet_group = false
18
+ enable_nat_gateway = true
19
+ single_nat_gateway = true
21
20
22
21
public_subnet_tags = {
23
22
Name = " overridden-name-public"
Original file line number Diff line number Diff line change 5
5
length (var. database_subnets ),
6
6
length (var. redshift_subnets ),
7
7
)
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 )
8
+ nat_gateway_count = var. single_nat_gateway ? 1 : var. one_nat_gateway_per_az ? length (var. azs ) : local. max_subnet_length
9
9
10
10
# Use `local.vpc_id` to give a hint to Terraform that subnets should be deleted before secondary CIDR blocks can be free!
11
11
vpc_id = element (
You can’t perform that action at this time.
0 commit comments