diff --git a/apps/infra/modules/codedang-infra/network.tf b/apps/infra/modules/codedang-infra/network.tf index e2998b8ce9..1cb691642c 100644 --- a/apps/infra/modules/codedang-infra/network.tf +++ b/apps/infra/modules/codedang-infra/network.tf @@ -89,8 +89,8 @@ resource "aws_route_table" "private-ecs" { vpc_id = aws_vpc.main.id route { - cidr_block = "0.0.0.0/0" - gateway_id = aws_nat_gateway.nat.id + cidr_block = "0.0.0.0/0" + nat_gateway_id = aws_nat_gateway.nat.id } # route {