Skip to content

Commit

Permalink
updated order for rg deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
jwaltireland committed Nov 4, 2024
1 parent ce918bb commit 66285a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/Delete_RGs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ echo "Environment: $1"

# List of resource groups to delete
#resource_groups=("avd-nih-arpah-test-use2-monitoring" "avd-nih-arpah-test-use2-network" "avd-nih-arpah-test-use2-pool-compute" "avd-nih-arpah-test-use2-service-objects" "rg-avd-test-use2-monitoring")
resource_groups=("avd-nih-arpah-$1-use2-monitoring" "avd-nih-arpah-$1-use2-network" "avd-nih-arpah-$1-use2-pool-compute" "avd-nih-arpah-$1-use2-service-objects" "avd-nih-arpah-$1-use2-storage")
resource_groups=("avd-nih-arpah-$1-use2-service-objects" "avd-nih-arpah-$1-use2-network" "avd-nih-arpah-$1-use2-pool-compute" "avd-nih-arpah-$1-use2-storage" "avd-nih-arpah-$1-use2-monitoring")

# Loop through each resource group and delete
for rg in "${resource_groups[@]}"; do
Expand Down

0 comments on commit 66285a7

Please sign in to comment.