-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
@aws-cdk/aws-cloudformationRelated to AWS CloudFormationRelated to AWS CloudFormationbugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortp2
Description
Describe the bug
I run cdk deploy X --no-rollback, and some failure happened. CDK reports:
X: deploying... [1/1]
X: creating CloudFormation changeset...
Stack is in a paused fail state and command line arguments do not include "--no-rollback". Roll back first and then proceed with deployment (y/n)?
Regression Issue
- Select this option if this issue appears to be a regression.
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 message
Current 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-cloudformationRelated to AWS CloudFormationRelated to AWS CloudFormationbugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortp2