Visualize stack outputs / imports in a Sankey diagram to identify optimizations and circular dependencies.
Fast, simple CLI which will inspect your AWS CloudFormation stacks and paint a Sankey diagram. This is useful for showing how stacks are connected in a multi-stack deployment. It is also useful for identifying circular dependencies which can arise when gradually patching stacks.
npm install -g cf-xviz
Usage: cf-xviz [options]
Visualize cross-stack references in your AWS CloudFormation stacks.
Options:
-V, --version output the version number
-p, --profile <string> use a specific profile from your credential file. (default: "default")
-r, --region <string> the region to use. (default: "us-east-1")
-b, --browser <string> the browser to use. (default: "firefox")
-h, --help output usage information
Flag | Description |
---|---|
-p, --profile | Choose which profile to use from your AWS credentials file. Usually found in ~/.aws/credentials . |
-r, --region | Choose which region your stacks are deployed in. E.g. eu-west-1 . |
-b, --browser | Choose which browser to open the visualization in. E.g. google-chrome . |
Make sure that the -r, --region flag is set to the same region as your stacks.