by benbc

129 Stars 38 Forks Last release: Not found MIT License 35 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


This tool is for creating visualizations of CloudFormation templates.


cd cloud-formation-viz
python -m venv .venv 
source .venv/bin/activate
python install

It outputs Graphviz dot files. It can be used like this where example.template is a json cloudformation template:

cat example.template | cfviz | dot -Tsvg -oexample.svg

The following can be used with yaml formatted templates:

cfviz example.yaml | dot -Tsvg -oexample.svg

The only dependency of the

script is Python (>=3.7) and the PyYaml package. You will also need to have Graphviz installed for the output to be any use.

The samples directory contains output of running the tool over the samples provided by AWS.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.