Rollback Template Deployment if anything fail - Just like AWS CloudFormation
Everytime that I use Template Deployment, if some resource fails to be create, I have to manually delete all the resources. This is not good.
Allways that any resource fails to be deployed, the entire template need to be rolledback.
Cobey Errett commented
This is something that we would really like. It is common when deploying new ARM templates we get artifacts that gets created and we have to delete manually.
Rollback is a must have feature in ARM.
Leo Mepham commented
Yes, AWS CloudFormation is great for this - If any part of the deployment fails then everything is rolled back and it is as if the deployment never began. I was surprised when I found out ARM templates do not work like this.
Please can we have transactional/rollback ARM templates - I cannot imagine a situation where I would want a failed deployment to leave "some" changes in at pretty much random.
An optional parameter for rollback would be awesome.