HashiCorpHashiCorp
TA-002-P · Question #444
TA-002-P Question #444: Real Exam Question with Answer & Explanation
The correct answer is C: terraform graph. The terraform graph command is used to generate a visual representation of either a configuration or execution plan. The output is in the DOT format, which can be used by GraphViz to generate charts.
Use the Terraform CLI (terraform plan, apply, destroy, fmt, init, validate, workspace, import, taint, providers, output)
Question
What command can you run to generate DOT (Document Template) formatted data to visualize Terraform dependencies?
Options
- Aterraform refresh
- Bterraform show
- Cterraform graph
- Dterraform output
Explanation
The terraform graph command is used to generate a visual representation of either a configuration or execution plan. The output is in the DOT format, which can be used by GraphViz to generate charts.
Topics
#Terraform CLI#Dependency Graph#terraform graph#DOT format
Community Discussion
No community discussion yet for this question.