File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
scenarios/AksOpenAiTerraform/terraform/modules/nat_gateway Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 1- locals {
2- zones = [" 1" ]
3- }
4-
51resource "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
137resource "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
2114resource "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
You can’t perform that action at this time.
0 commit comments