Copy
Sun Mar 24 2024 15:43:05 GMT+0000 (Coordinated Universal Time)
Saved by
@Vivekstyn
resource "aws_internet_gateway" "igw" {
vpc_id = aws_vpc.myvpc.id
}
resource "aws_route_table" "RT" {
vpc_id = aws_vpc.myvpc.id
route {
cidr_block = "0.0.0.0/0"
gateway_id = aws_internet_gateway.igw.id
}
}
content_copyCOPY
Comments