Visualizing Terraform resource dependencies with Rover
In Chapter 6, Applying a Basic Terraform Workflow in the Generating the dependency graph recipe, we learned how to generate a Terraform dependency graph using the Terraform command line.
This generated graph provides a global visualization of the dependencies of modules and resources, but it is static and sometimes difficult to read due to the complexity of the graph.
Among the open-source tools that integrate with Terraform, there is a tool called Rover, which is an open-source tool that allows for dynamic and interactive visualization of the dependency graph of the Terraform resources that are provisioned.
In this recipe, we will learn how to use Rover to visualize the dependency graph.
Let’s get started!
Getting ready
We will just install Rover before performing the recipe.
To install Rover, refer to the documentation here: https://github.com/im2nguyen/rover. We can use it by installing the...