nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · Question #225

What command can you run to generate DOT (Graphviz) formatted data to visualize Terraform dependencies?

The correct answer is B. terraform graph. terraform graph generates Graphviz DOT format output, which allows visualization of resource dependencies in Terraform. A (terraform refresh) - Incorrect, as it only updates the state file. C (terraform output) - Incorrect, as it only displays Terraform output values. D…

Use Terraform Outside of Core Workflow

Question

What command can you run to generate DOT (Graphviz) formatted data to visualize Terraform dependencies?

Options

  • Aterraform refresh
  • Bterraform graph
  • Cterraform output
  • Dterraform show

How the community answered

(22 responses)
  • A
    14% (3)
  • B
    77% (17)
  • C
    5% (1)
  • D
    5% (1)

Explanation

terraform graph generates Graphviz DOT format output, which allows visualization of resource dependencies in Terraform. A (terraform refresh) - Incorrect, as it only updates the state file. C (terraform output) - Incorrect, as it only displays Terraform output values. D (terraform show) - Incorrect, as it only displays the Terraform state.

Topics

#terraform graph#dependency visualization#Graphviz#CLI commands

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice