awslabs / aws-cloudformation-stacks-graph

Generate a network diagram of the CloudFormation stacks using the import/export dependencies that exist amongst them.
Apache License 2.0
29 stars 5 forks source link

Narrow it down to specific Stacks? #2

Open wolf-allywilson opened 2 years ago

wolf-allywilson commented 2 years ago

Is it possible to narrow the tool down to specific Stacks rather than all?

floydpink commented 2 years ago

Thank you for suggesting this feature @wolf-allywilson

To make sure I fully understand, would a new optional parameter like --stackName be what you are looking for?

When that is specified, then rather than printing all the stacks in the specified account/region, this will only print any graphs that the specified stack is part of.

I think this might be doable.

wolf-allywilson commented 2 years ago

I think --stackNameor --stackNames stack1,stack2,stack3,etc would work, yep.

Thanks for considering this.

rangana commented 2 months ago

Was looking into generating a graph of a particular stack, this is a very valuable feature I would also like to echo.