rehanvdm / cdk-express-pipeline

CDK Express Pipelines is a library built on the AWS CDK, allowing you to define pipelines in a CDK-native method. It leverages the CDK CLI to compute and deploy the correct dependency graph between Waves, Stages, and Stacks using the .addDependency method, making it build-system agnostic and an alternative to AWS CDK Pipelines.
Apache License 2.0
25 stars 1 forks source link

Roll back ALL stacks in the selected stack pattern #4

Open rehanvdm opened 1 month ago

rehanvdm commented 1 month ago

Read the pattern cdk deploy{pattern}` that was used and then if one of the stacks fails for that pattern, roll all of them back. This might involve injecting a custom resource and a Cloudwatch trigger to be monitored, then if one fails, fail all of them. The concurrency will have to be set high enough so that all stacks in the pattern are deployed at once. Just an idea, look for alternative solutions before starting.