Skip to content

Commit fcf07ed

Browse files
committed
Rename
1 parent 6e5544b commit fcf07ed

File tree

1 file changed

+1
-8
lines changed
  • scenarios/AksOpenAiTerraform/terraform/modules/nat_gateway

1 file changed

+1
-8
lines changed

scenarios/AksOpenAiTerraform/terraform/modules/nat_gateway/main.tf

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,22 @@
1-
locals {
2-
zones = ["1"]
3-
}
4-
51
resource "azurerm_nat_gateway" "this" {
62
name = var.name
73
location = var.location
84
resource_group_name = var.resource_group_name
9-
idle_timeout_in_minutes = 4
10-
zones = local.zones
115
}
126

137
resource "azurerm_public_ip" "nat_gateway" {
148
name = "${var.name}PublicIp"
159
location = var.location
1610
resource_group_name = var.resource_group_name
1711
allocation_method = "Static"
18-
zones = local.zones
1912
}
2013

2114
resource "azurerm_nat_gateway_public_ip_association" "nat_gategay_public_ip_association" {
2215
nat_gateway_id = azurerm_nat_gateway.this.id
2316
public_ip_address_id = azurerm_public_ip.nat_gateway.id
2417
}
2518

26-
resource "azurerm_subnet_nat_gateway_association" "nat-avd-sessionhosts" {
19+
resource "azurerm_subnet_nat_gateway_association" "gateway_association" {
2720
for_each = var.subnet_ids
2821
subnet_id = each.value
2922
nat_gateway_id = azurerm_nat_gateway.this.id

0 commit comments

Comments
 (0)