• Stars
    star
    134
  • Rank 270,967 (Top 6 %)
  • Language
    Python
  • License
    MIT License
  • Created over 11 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

cloud-formation-viz

This tool is for creating visualizations of CloudFormation templates.

Installation:

cd cloud-formation-viz
python -m venv .venv 
source .venv/bin/activate
python setup.py 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 cfviz script is Python (>=3.7) and the PyYaml package. You will also need to have Graphviz graphviz installed for the output to be any use.

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