From ac8b09ce1ec4ef5b1735f947c6057030dc9b2ec4 Mon Sep 17 00:00:00 2001 From: bocklag <143764250+bocklag@users.noreply.github.com> Date: Mon, 23 Sep 2024 16:14:12 +0900 Subject: [PATCH] fix(infra): remove aws elastic ip for nat gateway (#2113) --- apps/infra/production/network/public_network.tf | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/apps/infra/production/network/public_network.tf b/apps/infra/production/network/public_network.tf index c8cf72ac6f..b81c966675 100644 --- a/apps/infra/production/network/public_network.tf +++ b/apps/infra/production/network/public_network.tf @@ -6,20 +6,6 @@ resource "aws_internet_gateway" "main" { } } -resource "aws_eip" "for_nat" { - domain = "vpc" - - lifecycle { - create_before_destroy = true - } - - depends_on = [aws_internet_gateway.main] - - tags = { - Name = "Codedang-NatEIP" - } -} - resource "aws_route_table" "public" { vpc_id = aws_vpc.main.id