What command can you run to generate DOT (Document Template) formatted data to visualize Terraform dependencies?
What command can you run to generate DOT (Document Template) formatted data to visualize Terraform dependencies?
The 'terraform graph' command is used to generate a visual representation of Terraform resources and their dependencies. The output of this command is formatted in DOT (Document Template) format, which can be used by GraphViz to create visual diagrams of the infrastructure. This helps in understanding and debugging resource relationships and dependencies.
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.
The correct answer is C. terraform graph command generates DOT (Document Template) formatted data to visualize Terraform dependencies. The terraform graph command generates a visualization of Terraform resources as a directed acyclic graph (DAG) using the Graphviz DOT format. This visualization can be used to understand and debug complex resource dependencies in your infrastructure as code.
seems like C is the correct ans. visualize is the key point here
C is correct, good explanation from @Burakko!