Problem Statement
What is the use of variables in Terraform configuration?
Explanation
Variables in Terraform allow configuration to be parameterized and reused.
They make code more flexible by externalizing values that can change across environments, such as instance types or region names. Variables can be defined in separate files, environment variables, or input prompts.
