Skip to content

Commit

Permalink
fix(infra): remove aws elastic ip for nat gateway (#2113)
Browse files Browse the repository at this point in the history
  • Loading branch information
bocklag authored Sep 23, 2024
1 parent 464ff5f commit ac8b09c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions apps/infra/production/network/public_network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ac8b09c

Please sign in to comment.