Brains4Cloud
ESEN

Terraform

Terraform Variable

An input parameter that lets you parameterize Terraform configurations. Declared with variable {} and assigned via a .tfvars file, environment variables (TF_VAR_), -var flags, or interactively.

On the exam

In Terraform Associate there are three types: Input variables (input parameters), Local values (reusable expressions), and Output values (exported values). Question: how do you avoid hardcoding a VM size in multiple places? Input variable + local.

Related terms

More Terraform terms

See the whole glossary →