aws / aws/aws-cdk-cli

core: Allow user to exclude resource tagging changes from the cdk diff

Open
#1,959 11 comments 26 reactions 0 assignees View on GitHub
effort/medium feature-request p1
Dominant language
TypeScript
Stars
105
Forks
122
Avg merge
1d 17h
Merged PRs (30d)
71

Description

### Describe the feature

We tagged our resources with values like `deployed_on` (timestamp) or `deployed_by` (some user), but every time we do a diff, these often change and blow up the cdk diff output.

Add a `cdk diff --exclude=Tag` or something along those lines to exclude certain resource changes from the diff.

### Use Case

This will keep our cdk diff relevant and narrowed in to the resources we'd like to review in the diff.

### Proposed Solution

Perhaps in the backend include some parsing of the diff before outputting it and extracting out all text blocks that matches the resource name (in this case Tag)

### Other Information

_No response_

### Acknowledgements

- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### CDK version used

latest

### Environment details (OS name and version, etc.)

mac os

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.