AwsCdkCli: cdk deploy tries automatic rollback even when --no-rollback
specified
#32295
Closed
1 task
Labels
@aws-cdk/aws-cloudformation
Related to AWS CloudFormation
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p2
Describe the bug
I run
cdk deploy X --no-rollback
, and some failure happened. CDK reports:Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
I believe that if
--no-rollback
is supplied, automatic rollback should clearly be disabled, and also we should not be presented with an incorrect messageCurrent Behavior
CDK attempts reports incorrect message
Reproduction Steps
Contrive a non-fatal transient cloudformation error such that you would normally attempt a redeploy after some time.
Possible Solution
Disable automatic rollback if
--no-rollback
supplied.Additional Information/Context
No response
CDK CLI Version
2.170.0
Framework Version
No response
Node.js Version
18.20.4
OS
macOS
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: