-
Notifications
You must be signed in to change notification settings - Fork 4k
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
fix(cli): cdk diff
falsely reports resource replacements on trivial template changes
#28336
Merged
Merged
Changes from 10 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
b299958
can now create changeset during diff
comcalvi 9f73241
working changeset diff for resource replacement, but not for property…
comcalvi b59e97f
property-level diff
comcalvi 850fd0f
removed resource metadata from diff, we now consider evaluation: dyna…
comcalvi 858abcc
Merge branch 'main' of github.com:aws/aws-cdk into comcalvi/changeset…
comcalvi edd8dc3
diff now evaluates fn::getAtt short form and long form equivalence
comcalvi 7f5cec0
refactor
comcalvi f7f8d15
dependson is another problem...
comcalvi 49e890c
tests, pt 1
comcalvi 5129e95
cleanup
comcalvi 4c66a1e
move to devDeps
comcalvi d373680
yarn.lock
comcalvi 03a79f2
clean
comcalvi 7c6287b
refactor
comcalvi da00e1a
CLI options
comcalvi 212f603
remove metadata, but only when the flag is passed
comcalvi 9d01051
not sure who uses this, but someone might...
comcalvi 73c4685
console
comcalvi 29d9094
conflicts
comcalvi 3096aec
cleanup
comcalvi a106c7d
added the SDK comment
comcalvi e6e770d
style
comcalvi 054e432
test comment cleanup
comcalvi 561663d
tests
comcalvi 5d44f9a
TS
comcalvi 64e918b
bleh
comcalvi 4686b37
cleanup
comcalvi d3edce4
lefotver
comcalvi 76d9621
resource to import/...
comcalvi 645feb2
more resources to import
comcalvi f90ba59
naming
comcalvi d186cc9
rework
comcalvi a81a5dd
testing
comcalvi 52f86a1
error handling
comcalvi 7d0d38f
dependsOn
comcalvi dec2261
rename
comcalvi d1b8533
nested stacks
comcalvi c9341ea
depends on improvements + comments
comcalvi ca152bb
1,1
comcalvi abfe661
done
comcalvi 44041b1
unit test
comcalvi 7b4d7e1
rename
comcalvi 5c654da
cloudformation wowww
comcalvi 3bd3b03
disable it, just for testing...
comcalvi 0956232
Merge branch 'main' of github.com:aws/aws-cdk into comcalvi/changeset…
comcalvi b07e9ac
Merge branch 'main' of github.com:aws/aws-cdk into comcalvi/changeset…
comcalvi f0984a6
removing this fix, for now...
comcalvi c264294
comments
comcalvi 7ebc5ce
nested stack test
comcalvi b35e538
idk what this is doing here...
comcalvi 4f12072
Merge branch 'main' into comcalvi/changeset-diff
mergify[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I'm wondering if we can avoid passing this structure all the way down through a bunch of functions.
For example:
It might be that that is not possible (tell me if it isn't). But I like keeping concerns separated as much as possible.
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.
The second approach was much easier than my first approach 😅