Using Variables to Create Dynamic Terraform Configurations
Variables in Terraform are used to define dynamic configurations that can become reusable by passing in input values. This allows us to use configurations that can easily deploy multiple services.
In this Cloud Lab, you’ll create a reusable Terraform configuration using variables.
The following is the high-level architecture diagram of how to use variables to create dynamic terraform configurations: