Skip to content

Commit

Permalink
update removal order
Browse files Browse the repository at this point in the history
  • Loading branch information
eriqua committed Oct 23, 2024
1 parent 9fc212e commit a49ddcb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ function Initialize-DeploymentRemoval {
$RemoveFirstSequence = @(
'Microsoft.Authorization/locks',
'Microsoft.VirtualMachineImages/imageTemplates', # Must be removed before their MSI & should be removed before its entities permissions are removed
'Microsoft.DevOpsInfrastructure/pools' # Must be removed before vnet role assignments and other resources it depends on like a virtual network
'Microsoft.Authorization/roleAssignments',
'Microsoft.Insights/diagnosticSettings',
'Microsoft.Network/privateEndpoints/privateDnsZoneGroups',
Expand All @@ -94,7 +95,6 @@ function Initialize-DeploymentRemoval {
'Microsoft.ContainerInstance/containerGroups' # Must be removed before their MSI
'Microsoft.ManagedIdentity/userAssignedIdentities',
'Microsoft.Databricks/workspaces'
'Microsoft.DevOpsInfrastructure/pools' # Must be removed before other resources it depends on like a virtual network
'Microsoft.Resources/resourceGroups'
)

Expand Down

0 comments on commit a49ddcb

Please sign in to comment.