feat: nat-gateways

This commit is contained in:
david committed 2024-04-27 18:25:39 +02:00
1 parent b7b1653cc6
commit e19d7fc053
11 files changed
+88 -53

No files matched your search

+9
View File
@@ -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]
}