File tree Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -146,22 +146,28 @@ resource "aws_internet_gateway" "o11y-ws-ig" {
146146 )
147147}
148148
149- resource "aws_route_table" "o11y-ws-rt" {
150- vpc_id = aws_vpc. o11y-ws-vpc . id
151- tags = merge (
152- local. common_tags ,
153- {
154- " Name" = " o11y-ws-rt"
155- }
156- )
157- }
149+ # resource "aws_route_table" "o11y-ws-rt" {
150+ # vpc_id = aws_vpc.o11y-ws-vpc.id
151+ # tags = merge(
152+ # local.common_tags,
153+ # {
154+ # "Name" = "o11y-ws-rt"
155+ # }
156+ # )
157+ # }
158158
159159resource "aws_route" "o11y-ws-route" {
160- route_table_id = aws_route_table . o11y-ws-rt . id
160+ route_table_id = aws_vpc . o11y-ws-vpc . main_route_table_id
161161 destination_cidr_block = " 0.0.0.0/0"
162162 gateway_id = aws_internet_gateway. o11y-ws-ig . id
163163}
164164
165+ # resource "aws_route" "o11y-ws-route" {
166+ # route_table_id = aws_route_table.o11y-ws-rt.id
167+ # destination_cidr_block = "0.0.0.0/0"
168+ # gateway_id = aws_internet_gateway.o11y-ws-ig.id
169+ # }
170+
165171# resource "aws_route_table_association" "o11y-ws-rta" {
166172# subnet_id = aws_subnet.o11y-ws-subnet.id
167173# route_table_id = aws_route_table.o11y-ws-rt.id
You can’t perform that action at this time.
0 commit comments