Command: graph | Terraform | HashiCorp Developer

The terraform graph command generates a visual representation of a configuration or execution plan that you can use to generate charts.