aws-toolkit-azure-devops
aws-toolkit-azure-devops copied to clipboard
Allow stack updates to be cancelled in CloudFormation delete (and maybe elsewhere)
Is your feature request related to a problem? Please describe. AWS ECS takes three hours to timeout if there's an issue during a stack update
Describe the solution you'd like Allow stack updates to be cancelled, like with the CancelUpdateStack API
Describe alternatives you've considered
Use the CloudFormationDeleteStack
task to cancel the stack update. This used to work before, but now it displays the following error:
##[error]ValidationError: Stack cannot be deleted while in status UPDATE_IN_PROGRESS
I think this would be reasonable to add as an opt in feature for CloudFormationDeleteStack. How do you think it should work in other cases?
I think it would work best as a separate task that's dedicated to canceling stack updates. Sometimes, I just want to be able to cancel a stack update without doing anything else.
You could also add a feature to CloudFormationDeleteStack
to automatically cancel the stack if there is an update in progress, and then proceed to delete the stack.