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 f7001f3 commit b1c05d1Copy full SHA for b1c05d1
main.tf
@@ -24,5 +24,5 @@ resource "azurerm_subnet_network_security_group_association" "this" {
24
count = var.nsg_association_enabled ? 1 : 0
25
26
subnet_id = var.export_subnet_id == null ? azurerm_subnet.this[0].id : var.export_subnet_id
27
- network_security_group_id = each.nsg_id
+ network_security_group_id = var.nsg_id
28
}
0 commit comments