[cdk-pipelines] stack cleanup
See original GitHub issueFollowing this example here
npx cdk deploy \
--profile account1-profile \
CdkpipelinesDemoPipelineStack
The above command creates a pipeline stack and then the pipeline creates an application stack.
npx cdk destroy \
--profile account1-profile \
CdkpipelinesDemoPipelineStack
Only delete the pipeline stack but not the application stack created earlier.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:37
- Comments:16 (4 by maintainers)
Top Results From Across the Web
Clean up | AWS CDK Workshop
Clean up your stack # When destroying a stack, resources may be deleted, retained, or snapshotted according to their deletion policy.
Read more >AWS CDK Advanced Workshop
To clean up after this tutorial you can delete all the resources you have created by deleting the CloudFormation stacks: Delete the following...
Read more >Cleaning stacks in target account by pipeline - Stack Overflow
The solution is mentioned in the tutorial you linked: Clean up. Delete stacks using the command cdk destroy --all.
Read more >CDK Pipelines: Continuous delivery for AWS CDK applications
After you define the stack that makes up your application, you can deploy it through a pipeline. The first step is to define...
Read more >CDK Pipelines: Beyond the Basics - AWS in Plain English
How to build a pipeline that deploys two stacks (backend and frontend) to AWS cloud using CDK. This post assumes some basic CDK...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@rix0rrr Is this not planned anymore?
Listing stacks as parameters to destroy is a pretty simple workaround: