Sign inSign up

semnil/tfdiagrams

By semnil

•Updated 6 months ago

Image
0

3.2K

semnil/tfdiagrams repository overview

⁠tfdiagrams

Generate Diagram from terraform output.

⁠Usage (CLI):

tdot [ flags ] [ input file path ]
# terraform graph | tfdot -ograph.png

If no input files are supplied, the program reads from stdin.

⁠Install packages
$ pip install tfdiagrams
⁠Flags

-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

⁠Usage (docker):

docker run --rm -it \
  --workdir=/app \
  -v "$PWD:/app" \
  semnil/tfdiagrams sh -c "terraform init && terraform graph | tfdot -ograph.png"

Tag summary

Content type

Image

Digest

sha256:7a5533881…

Size

253.8 MB

Last updated

6 months ago

docker pull semnil/tfdiagrams