aws-serverless-data-lake-framework icon indicating copy to clipboard operation
aws-serverless-data-lake-framework copied to clipboard

Improve cloudformation stacks lifecycle

Open cnfait opened this issue 2 years ago • 0 comments

Describe the bug An error occurred (ValidationError) when calling the UpdateStack operation: Stack:arn:aws:cloudformation:x:x:stack/sdlf-foundations/xxx is in ROLLBACK_FAILED state and can not be updated.

In sdlf-foundations if for some reason a stack is in the ROLLBACK_FAILED state it will fail to update. This is expected but the deploy.sh script will still move forward and exit successfully - which is not ideal.

Additional context It might be best to let CodePipeline handle the entire CloudFormation workflow and be less reliant on aws cli calls in shell scripts.

cnfait avatar Jan 11 '23 16:01 cnfait