-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(toolkit): improve diff user interface #1187
Conversation
`DifferenceCollection#applyFilter` can be used to delete any changes that do not pass the predicate from the collection. Changed `DifferenceCollection#count` to do a lazy calculation since now `changes` is mutable. The toolkit switch `cdk diff --strict` disables this behavior. Fixes #465
- When possible, display element's construct path alongside logical ID (fixes #1121) - Sort changes according to type: removed > added > updated > other - Add section headers: parameters, resources, output (fixes #1120) - Reduce clutter and emojis To display construct path we fuse metadata from the synthesized output (CDK metadata) and info from the the "aws:cdk:path" CloudFormation metadata (if exists).
If we resolve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for taking the time to contribute to the AWS CDK ❤️ We will shortly assign someone to review this pull request and help get it
|
logical ID (fixes cdk diff: show element path and not only logical id #1121)
output (fixes cdk diff: doesn't doesn't indicate "parameters" and "outputs" #1120)
To display construct path we fuse metadata from the synthesized output
(CDK metadata) and info from the the "aws:cdk:path" CloudFormation
metadata (if exists).
TODO:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.