Aws-cdk: Support RollbackOnFailure when stacks are created

Created on 16 May 2019  路  10Comments  路  Source: aws/aws-cdk

@aws-cdcore efforsmall feature-request p1

Most helpful comment

must have feature

All 10 comments

Looking for the same, but no luck currently

Also need this feature please

also needed. some resource creation/deletion failed but cdk continues executing.

Thanks for expressing your interest everyone! Someone will update this issue when there is movement.

must have feature

This would be a nice feature. Our team has had a plethora of difficulties trying to work with AWS Support on tickets because we cannot disable rollback.

Sounds like this is something we should add at the CLI level and also at the framework level as a stack option.

@shivlaks can you pick this up?
@rix0rrr should also be supported in CDK Pipelines

This is currrently causing me pain with nested stacks , i can't see whats causing the error, becusae its detleted before i get too look.

Please correct me if I'm wrong, but it seems to me that this issue can not be implemented at the moment as AWS::CloudFormation::Stack currently doesn't support rollback property.

Though, it is supported in create-stack CLI command, but as I understand, aws-cdk doesn't use CLI for generating the stack and uses CloudFormation template instead.

This is currrently causing me pain with nested stacks , i can't see whats causing the error, becusae its detleted before i get too look.

In CloudFormation, filter by 'deleted stacks' and you should still be able to view the error in the event log.

Was this page helpful?
0 / 5 - 0 ratings