aws-amplify / aws-amplify/amplify-cli
add --disable-rollback option for push command
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 825
- Avg merge
- 11d 23h
- Merged PRs (30d)
- 2
Description
### Is this feature request related to a new or existing Amplify category?
_No response_
### Is this related to another service?
cloudformation
### Describe the feature you'd like to request
There should be a way to disableRollback when doing amplify push. When the project gets very big and more changes are deployed at once it becomes very disturbing to wait 30+ minutes for rollback if only 1 of 10 things failed for some reason. CloudFormation does support this optional parameter so it should be possible to add it as part of amplify push.
I see similar [issue](https://github.com/aws-amplify/amplify-cli/issues/3529) was closed because 'enhancement hasn't gotten more traction' without the option to be opened again. Please don't do that, at least leave the option to re-open it especially for such features that makes deploying with amplify a mess when you have a big project behind.
### Describe the solution you'd like
amplify push --disable-rollback (deploy and finish even if a stack failed to update)
### Describe alternatives you've considered
None
### Additional context
_No response_
### Is this something that you'd be interested in working on?
- [ ] 👋 I may be able to implement this feature request
### Would this feature include a breaking change?
- [ ] ⚠️ This feature might incur a breaking change
Contributor guide
Research direction
Start at the amplify push command entry point and trace how deployment options reach CloudFormation. Add support for the requested --disable-rollback option, then verify that amplify push passes it through and completes without waiting for rollback after a failed stack update.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cli, cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100