Problem
How do I delete or update the bicep template and all of its resources? We can delete or edit cloudformation and terraform templates in the same way.
The az deployment commands do not offer an update option, and when using az deployment delete, the resources are not deleted.
Asked by Jazib Humayun
Solution #1
Yes, it has. Complete mode is required.
az deployment group create -f ./main.bicep -g my-rg --mode Complete
It is written as follows:
Answered by Krzysztof Madej
Post is based on https://stackoverflow.com/questions/68007894/how-to-delete-bicep-template-and-the-resources-it-has-deployed