Skip to content

Glossary: Terraform

-var-file

Also written: -var

Command-line options for setting input variables. `-var-file=prod.tfvars` loads values from a file, and `-var 'env=prod'` sets one value directly.

Where the book teaches it

Related terms

.tfvars fileInput variable