variable definitions file

A .tfvars file of name = value lines that supplies values for input variables.

In more detail

terraform.tfvars and any *.auto.tfvars files are loaded automatically; other files are named with -var-file. Because they are committed, they must never hold secrets.

Example

environment    = "staging"
instance_count = 4

Related terms

Taught in

References

Certification courses