ARM Template Resource Group Deployment Redeploys
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Is your feature request related to a problem? Please describe.**
I want to be able to redeploy the last working state of my arm template in the event that:
1. My new ARM template succeeded in deploying
2. It causes runtime issues for the service that uses the deployed azure objects.
**Describe the solution you'd like**
A couple of options:
1. Add an optional parameter to the `az group deployment create` (--redeploy [previousDeploymentName]).
2. Have a separate command which does the same thing as the Azure Portal-> Resource Group -> Deployments "Redeploy" button.

**Describe alternatives you've considered**
1. Creating a deployment that will intentionally fail and then using `rollback-on-error` to reference the specific deployment I want to redeploy.
2. Calling the Azure API directly.
It looks like the functionality to redeploy an existing deployment exists, it just needs to be exposed via the azure cli.
Contributor guide
Assessment
This issue has not been assessed yet.