Is there a way to visualize changes on nested stacks? #35565
Replies: 1 comment
|
This was a real limitation of the older CLI, but it has since been implemented. Recursive nested-stack diffing landed in the standalone CDK CLI in Upgrade the CLI (upgrading only npm install --save-dev aws-cdk@^2.1116.0
npx cdk --version
npx cdk diff ParentStack --method=change-setOn a current CLI, the diff implementation:
That means the output should now show the actual Lambda/IAM/etc. changes inside the nested stack, rather than only the changed Use If the command still shows only which cdk
cdk --version
npx cdk --version
For environments stuck on an older CLI, the fallback is manual: synthesize, locate the child's So today there is a real expanded view; use CDK CLI If the upgraded CLI shows the nested resources, please mark this as the accepted answer so users finding the older behavior can see that it has been fixed. |
Uh oh!
There was an error while loading. Please reload this page.
I know this is a common question, but I haven't found a right answer (and a fix for my issue). I'm working with python cdk and nested stack, the
cdk diffis not very useful to me, because it refers to files in s3. I know when we work with nested stack they are considered as a resource (such as a lambda function is for example), but is there a real way to expand the changes in thecdk diffview?.All reactions