Terraform 1 · Variables, targets and outputs
Set a variable
Pass a value for an input variable.
terraform apply -var="region=eu-west-1"
Official Terraform 1 documentation
More variables, targets and outputs commands
- Use a variable file
- 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