cli: report undeleted resources after cdk destroy
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 74
Description
### Describe the feature
Hi,
It would be nice if the CDK cli could report resources that will not be deleted by `cdk destroy`.
Ideally, this report is displayed before confirmation.
Note: This is a duplicate of #15749 which was closed automatically.
See [this comment](https://github.com/aws/aws-cdk/issues/15749#issuecomment-1230577840) for possible workarounds.
### Use Case
- To have more information about what is happening
- To prevent having some unused resources that are billed
### Proposed Solution
_No response_
### Other Information
_No response_
### Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
### CDK version used
2.38.1
### Environment details (OS name and version, etc.)
any OS
Contributor guide
Research direction
Start with the CDK CLI's cdk destroy entry point and review the workaround discussion linked from issue #15749. Define how undeleted resources are identified and reported before confirmation, then verify the report covers resources that destroy will leave behind.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cli, cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100