Add --rollback-configuration to cloudformation deploy
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 4.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
### Describe the feature
I think cloudformation deploy should have --rollback-configuration just like create-stack and update-stack.
(As @jaakkotuosa requested some time ago https://github.com/aws/aws-cli/issues/3712)
### Use Case
I'd like to automate smoke tests after a deployment that would report on a AWS::CloudWatch::Alarm when some bug slipped though. Such an alarm would then rollback the deployment.
Afaik. this is currently possible using [`aws cloudformation update-stack --rollback-configuration`](https://docs.aws.amazon.com/cli/latest/reference/cloudformation/update-stack.html). But `aws cloudformation deploy` is much more user-friendly and is commonly preferred over `update-stack` so the feature is not easily available to users of aws-sam, [Architect](https://arc.codes/), [Serverless](https://serverless.com/) etc.
### Proposed Solution
Provide the exact same functionality available on `create-stack` and `update-stack` to `deploy`
### Other Information
_No response_
### Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
### CLI version used
latest
### Environment details (OS name and version, etc.)
any
Contributor guide
Assessment
This issue has not been assessed yet.