diff --git a/vpc.tf b/vpc.tf index e8e16b8..2260de5 100644 --- a/vpc.tf +++ b/vpc.tf @@ -97,15 +97,20 @@ resource "aws_route" "public_internet_gateway" { destination_cidr_block = "0.0.0.0/0" gateway_id = aws_internet_gateway.igw.id + + tags = { + Name = "${var.environment}-public-route-table" + Environment = "${var.environment}" + } } # Route for NAT Gateway -resource "aws_route" "private_internet_gateway" { - route_table_id = aws_route_table.private.id - - destination_cidr_block = "0.0.0.0/0" - gateway_id = aws_nat_gateway.nat.id -} +#resource "aws_route" "private_internet_gateway" { +# route_table_id = aws_route_table.private.id +# +# destination_cidr_block = "0.0.0.0/0" +# gateway_id = aws_nat_gateway.nat.id +#} # Route table associations for both Public subnet resource "aws_route_table_association" "public" {