feat: nat-gateways
This commit is contained in:
1 parent
b7b1653cc6
commit
e19d7fc053
11 files changed
+88
-53
No files matched your search
@@ -0,0 +1,9 @@
|
||||
# nat_gateway.tf
|
||||
|
||||
resource "aws_nat_gateway" "self" {
|
||||
for_each = local.nat_gateways
|
||||
subnet_id = aws_subnet.self[each.value].id
|
||||
allocation_id = aws_eip.self[each.value].id
|
||||
|
||||
depends_on = [aws_internet_gateway.self]
|
||||
}
|
||||
Reference in new issue
Block a user