aws-serverless-data-lake-framework
aws-serverless-data-lake-framework copied to clipboard
Improve cloudformation stacks lifecycle
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.