Skip to content

Commit

Permalink
Fix automation failures - dependency issue on clean (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
hadar-timan authored Feb 6, 2024
1 parent 00a7ab1 commit ada8283
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion modules/azurerm/db-with-agent/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ resource "azurerm_linux_virtual_machine" "agent" {
}
tags = merge(var.tags, { Name = join("-", [var.friendly_name]) })
depends_on = [
azurerm_role_assignment.agent_storage_role_assignment
azurerm_role_assignment.agent_storage_role_assignment,
azurerm_network_interface_security_group_association.nic_ip_association
]
}

Expand Down
3 changes: 2 additions & 1 deletion modules/azurerm/sonar-base-instance/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ resource "azurerm_linux_virtual_machine" "dsf_base_instance" {
]
}
depends_on = [
azurerm_role_assignment.dsf_base_storage_role_assignment
azurerm_role_assignment.dsf_base_storage_role_assignment,
azurerm_network_interface_security_group_association.nic_ip_association
]
}

Expand Down

0 comments on commit ada8283

Please sign in to comment.