mwhooker / dot-terraform-json

Dot output of a terraform json plan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dot-terraform-json

Outputs Graphviz DOT language script representing the prior and proposed state in a Terraform json plan.

Creates two disjoint graphs, a Prior and a Proposed. Modules are outlined in blue, data resources in green, and managed resources in black.

Example:

# Generate pdf and open it (Mac)
./dot-terraform-json plan.json | dot -Tpdf > dot.pdf && open dot.pdf

Example Output:

Below is the example output of the plan of examples/main.tf. Example Output

About

Dot output of a terraform json plan


Languages

Language:Go 100.0%