If you use theAWS CDK to deploy resources, you may also likely use thePipelines construct to deploy. Let's say you do, and you run acdk diff
against your app prior to committing. It's awfully disappointing as it will only show you changes to the encasing pipeline.
However thanks to thisfantastic answer from @fedonev on StackOverflow, I learned that there isspecial syntax within the CDK CLI that allows you to wildcard the stack you would like a command to run against.
You may also use wildcards to specify IDs that match a pattern.
? matches any single character
* matches any number of characters (* alone matches all stacks)
** matches everything in a hierarchy
So running
cdk diff '**'
Will diff not only diff the pipeline stack, but all the stack's within your application.
Top comments(0)
For further actions, you may consider blocking this person and/orreporting abuse