diff --git a/apps/infra/production/network/README.md b/apps/infra/production/network/README.md index d8b2e30e26..1e121f6f29 100644 --- a/apps/infra/production/network/README.md +++ b/apps/infra/production/network/README.md @@ -33,7 +33,6 @@ No modules. | [aws_cloudfront_distribution.codedang](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_distribution) | resource | | [aws_eip.for_nat](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eip) | resource | | [aws_internet_gateway.main](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/internet_gateway) | resource | -| [aws_nat_gateway.public_subnet1](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/nat_gateway) | resource | | [aws_route53_record.certificate](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_record) | resource | | [aws_route53_record.codedang](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_record) | resource | | [aws_route53_zone.codedang](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_zone) | resource | diff --git a/apps/infra/production/network/public_network.tf b/apps/infra/production/network/public_network.tf index f4b16b7a6d..c8cf72ac6f 100644 --- a/apps/infra/production/network/public_network.tf +++ b/apps/infra/production/network/public_network.tf @@ -20,16 +20,6 @@ resource "aws_eip" "for_nat" { } } -# TODO: public_subnet2에도 할당 필요 (-> vpc endpoint로 수정하는 방향으로 진행하기) -resource "aws_nat_gateway" "public_subnet1" { - allocation_id = aws_eip.for_nat.id - subnet_id = aws_subnet.public_subnet1.id - - tags = { - Name = "Codedang-NatGateway-1" - } -} - resource "aws_route_table" "public" { vpc_id = aws_vpc.main.id