aws-samples / aws-samples/codepipeline-nested-cfn

Is there no way to have stacks created by the pipeline deleted when the pipeline stack is deleted?

Open
#4 2 comments 11 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
269
Forks
284
PR merge metrics
No merged PRs in 30d

Description

This is a question, not an issue per se.

i note this statement:
```
Note: While removing the resources, delete the Prod & UAT stacks created by pipeline before deleting the pipeline since those CloudFormations stacks uses the role created by pipeline stack.
```
I've experienced the pain of having to remove stacks in the right order.

When developing a pipeline you need to repeatedly create and delete the outlying codepipeline stack, and are left to delete the sub-stacks. It would be nice if there was a way to have stacks created by the pipeline be deleted when the pipeline gets deleted (in reverse dependency order).

Is there a way to do this, or does the user have to remember to delete the stacks created by the pipeline manually everytime, in the right order? Any advice is welcome.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.