To set lots of variables, it is more convenient to specify their values in
a variable definitions file (with a filename ending in either .tfvars
or .tfvars.json
) and then specify that file on the command line with
-var-file
:
If you want to change selection, open document below and click on "Move attachment"
Input Variables - Configuration Language | Terraform | HashiCorp Developeruding additional examples for Windows Command Prompt, see Input Variables on the Command Line. You can use the -var option multiple times in a single command to set several different variables. <span>Variable Definitions (.tfvars) Files To set lots of variables, it is more convenient to specify their values in a variable definitions file (with a filename ending in either .tfvars or .tfvars.json) and then specify that file on the command line with -var-file: Linux, Mac OS, and UNIX: terraform apply -var-file="testing.tfvars" terraform apply -var-file="testing.tfvars" Copy PowerShell: terraform apply -var-file='testing.tfvars' terraform appl Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details