Skip to content

Commit 6c7b21f

Browse files
authored
Fixing nic error. (#174)
1 parent f082aff commit 6c7b21f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/azurerm_vm/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,6 @@ resource "azurerm_linux_virtual_machine" "vm" {
9292
}
9393

9494
tags = var.tags
95+
96+
depends_on = [azurerm_network_interface_security_group_association.vm_nic_sg]
9597
}

0 commit comments

Comments
 (0)