Skip to content

Commit b7396f0

Browse files
authored
Merge pull request #50 from NetDevAutomate/f-terraform-aws-vpc-tgw-mask
VPC Subnets for AWS Transit Gateway Attachments should be a /28, also…
2 parents b935e01 + cdcdca4 commit b7396f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/transit_gateway/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ module "vpc" {
1414
public = {
1515
netmask = 24
1616
nat_gateway_configuration = "single_az"
17-
route_to_transit_gateway = ["10.1.0.0/16"]
17+
route_to_transit_gateway = ["10.0.0.0/8"]
1818
}
1919

2020
private = {
2121
netmask = 24
2222
route_to_nat = true
23-
route_to_transit_gateway = ["10.1.0.0/16"]
23+
route_to_transit_gateway = ["10.0.0.0/8"]
2424
}
2525

2626
transit_gateway = {
27-
netmask = 24
27+
netmask = 28
2828
transit_gateway_id = aws_ec2_transit_gateway.example.id
2929
route_to_nat = false
3030
transit_gateway_default_route_table_association = true

0 commit comments

Comments
 (0)