We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02bbf06 commit 65566f5Copy full SHA for 65566f5
scenarios/AksOpenAiTerraform/terraform/main.tf
@@ -112,6 +112,9 @@ module "nat_gateway" {
112
zones = var.nat_gateway_zones
113
tags = var.tags
114
subnet_ids = module.virtual_network.subnet_ids
115
+ depends_on = [
116
+ module.virtual_network
117
+ ]
118
}
119
120
module "container_registry" {
scenarios/AksOpenAiTerraform/terraform/modules/nat_gateway/main.tf
@@ -39,7 +39,4 @@ resource "azurerm_subnet_nat_gateway_association" "nat-avd-sessionhosts" {
39
for_each = var.subnet_ids
40
subnet_id = each.value
41
nat_gateway_id = azurerm_nat_gateway.nat_gateway.id
42
- depends_on = [
43
- module.virtual_network
44
- ]
45
0 commit comments