aws / aws/aws-cdk

[cdk-pipelines] stack cleanup

Open
#10,190 22 comments 53 reactions 0 assignees View on GitHub
@aws-cdk/pipelines effort/large feature-request p1 package/tools
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

Following this example [here](https://aws.amazon.com/blogs/developer/cdk-pipelines-continuous-delivery-for-aws-cdk-applications/)

```
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.

Contributor guide

Open the contributing guide

Research direction

Reproduce the example's `npx cdk deploy` and `npx cdk destroy` commands with the `CdkpipelinesDemoPipelineStack` and observe which application resources remain. The issue names no source files or tests, so trace the pipeline's application-stack cleanup behavior; done means the expected stack lifecycle is implemented or the behavior is clearly resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.