Graph dependency tree
Visualize resource dependency graph (requires Graphviz)
terraform graph | dot -Tsvg > graph.svg
- tool
- terraform43 commands
More terraform commands
-
terraform state list | grep <pattern>Filter state resources by pattern
-
terraform fmt -recursiveRecursively format all .tf files in subdirectories
-
terraform validateCheck configuration syntax without accessing remote state
-
terraform plan -var-file=prod.tfvars -out=prod.tfplanGenerate plan with prod variables, save to file
-
terraform apply prod.tfplanApply exactly the plan generated earlier (no re-prompts)