How to show Terraform configuration in Visual Graphical representaton using Graphviz

Summary Terraform graph command is used to generate visual representation of either a configuration or execution plan. The command generates a DOT format Output. In the post we will see how to generate an image / nice graphical representation of Terraform resources and their dependencies using the DOT file we will generate. We will use Graphviz which is an open-source graph visualization software. I will not go in detail of the Terraform code and assume that you already have main.tf file along with other terraform code written in configuration files. As an example, i am using below terraform configuration file which i will use it to convert to a DOT …

Read more