core: Indicate change of stack termination protection
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 83
Description
### Describe the feature
When issuing `cdk diff`, it should indicate whether **Stack Termination Protection** has been enabled or disabled for a stack.
### Use Case
Currently, when you are changing termination protection for a stack, there's no indication, neither when running `cdk diff`, nor when running `cdk deploy` that this change is going to be made.
### Proposed Solution
- Have `cdk diff` output that termination protection is changing
- Have `cdk deploy` not stating `(no changes)` if termination protection is changed
### Other Information
I tried to gauge support for this in https://github.com/aws/aws-cdk/discussions/31928 but I never got any response.
### Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
### CDK version used
2.165.0
### Environment details (OS name and version, etc.)
Ubuntu 22.04.5 LTS
Contributor guide
Research direction
Start with the cdk diff and cdk deploy entry points, then trace how stack termination protection changes are detected and reported. Review existing output and tests around these commands. Done means cdk diff reports enabled or disabled changes and cdk deploy does not report “no changes” when only termination protection changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli, cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100