lono xgraph


lono xgraph STACK


Graphs dependencies tree of CloudFormation template resources.


With more complex CloudFormation templates, the dependency can get difficult to follow. Visualizing the dependencies is helpful.

lono import https://s3.amazonaws.com/solutions-reference/aws-waf-security-automations/latest/aws-waf-security-automations.template --name waf
lono xgraph waf

This above command generates a dependency chart. The command uses the DependsOn attribute specified in each resource to figure this out. It does not show implied dependencies that CloudFormaton automatically computes for us. The chart looks like this:

The chart is generated with Graphviz. To install:

brew install graphviz

Blog Post also covers this: lono inspect depends Tutorial Introduction


[--display=DISPLAY]    # graph or text
                       # Default: graph
[--noop], [--no-noop]  # noop mode

Edit this page

See a typo or an error? You can improve this page. This website is available on GitHub and contributions are encouraged and welcomed. We love pull requests from you!