Generate Diagram from terraform output.

tdot [ flags ] [ input file path ]
# terraform graph | tfdot -ograph.png
If no input files are supplied, the program reads from stdin.
$ pip install tfdiagrams
-Tformat
Set output language to one of the supported formats. By default, png image is produced.
-ooutfile
Write output to file outfile.
-ekeyword,comma,separated
Exclude keywords separated by commas
docker run --rm -it \
--workdir=/app \
-v "$PWD:/app" \
semnil/tfdiagrams sh -c "terraform init && terraform graph | tfdot -ograph.png"
Content type
Image
Digest
sha256:7a5533881…
Size
253.8 MB
Last updated
6 months ago
docker pull semnil/tfdiagrams