Skip to content

Commit

Permalink
Create netgw.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
sourabhdey21 authored Oct 1, 2023
1 parent 40840a1 commit 6569405
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Terraform/aws_3_tier_application/netgw.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
resource "aws_nat_gateway" "natgw" {
allocation_id = aws_eip.myeip.id
subnet_id = aws_subnet.public[0].id

tags = {
Name = "gw nat"
}

depends_on = [aws_internet_gateway.gw]


}

0 comments on commit 6569405

Please sign in to comment.