Azure / deployment-stacks

Contains Deployment Stacks CLI scripts and releases
MIT License
87 stars 7 forks source link

Question: Will purging/deleting the resource group be part of deployment stacks #37

Closed slavizh closed 1 year ago

slavizh commented 2 years ago

As far as I understood currently if you delete deployment stack or remove resource group from deployment stacks the resources groups will not be deleted/purged. Will such functionality be part of future release? Will there be option to not purge the resource group in case there are some other resources left that were not part of the stack?

bmoore-msft commented 2 years ago

Current thinking is that we would delete the RG only if it's empty... We would not delete subscriptions or managementGroups even if empty.

bmoore-msft commented 1 year ago

The next release will issue a DELETE call for the RG/MG if so instructed ( see #59 ). This is equivalent to any other RG delete call so it will instruct ARM to delete the RG even if it's not empty.