How can I delete or update bicep template and all the resources it has deployed? just like we can delete or update cloudformation and terraform template
az deployment commands don't have update option and while using az deployment delete it does not delete the resources
az deployment commands don't have update option and while using az deployment delete it does not delete the resources
It has/does. You need to use Complete mode:
az deployment group create -f ./main.bicep -g my-rg --mode Complete
As it is written here
In complete mode, Resource Manager deletes resources that exist in the resource group but aren't specified in the template.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With