From 1ffe9e2dccc7061d066ac5ca32eb4df0147d11ec Mon Sep 17 00:00:00 2001 From: cona Date: Thu, 28 Mar 2024 20:19:03 +0900 Subject: [PATCH] fix(infra): change incorrect argument in private route table (#1619) --- apps/infra/modules/codedang-infra/network.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {