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.
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(cli):
cdk diff
works for Nested Stacks #18207feat(cli):
cdk diff
works for Nested Stacks #18207Changes from 10 commits
e6bdd04
2b0ca60
63d7116
c3c928f
3a22820
de73931
80b89b8
1dacb1e
7d67e98
7ca57a3
0b4a1c8
acc0142
38b5723
54ba003
35e2c3b
3bb10f5
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
You probably want to add a comment here, showing the structure of a nested Stack ARN - otherwise, this code is quite myterious.
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.
Actually, I just realized I don't understand why this code works at all 😛. Why are we skipping the part after the last
/
? What is that, that we can skip it?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 part after the
/
is a gibberish string (eg this string from the cfn docs:f449b250-b969-11e0-a185-5081d0136786
) that is not part of the nested stack name. I assume it's a hash, but I haven't been able to find documentation to support that assumption.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.
Hash of what though? 🙂
In either case, a comment explaining all of this is definitely needed.