One of the key features of Terraform is the possibility to visualize a preview of changes in advance of their application to a given piece of infrastructure with the terraform plan command.
We have often discussed in this book displaying a visualization of changes in the terminal, but what we see less often is how to automatically evaluate and analyze the results of the terraform plan command.
In this recipe, we will see how to analyze the results of the terraform plan command.