Terraform 1 · Variables, targets and outputs
Use a variable file
Load variable values from a file.
terraform apply -var-file="prod.tfvars"
Official Terraform 1 documentation
More variables, targets and outputs commands
- Set a variable
- Apply a single resource
- Force a resource to be recreated
- Show outputs
- Read one output as a plain value
- Open an expression console
All variables, targets and outputs commands · Terraform 1 cheatsheet