2020-05-26 15:29:47 +02:00
|
|
|
## Assigning Values to build Variables
|
|
|
|
|
2020-06-02 12:17:46 +02:00
|
|
|
Once a variable is declared in your configuration, you can set it:
|
2020-05-26 15:29:47 +02:00
|
|
|
|
|
|
|
- Individually, with the `-var foo=bar` command line option.
|
2020-10-14 13:35:21 -07:00
|
|
|
- In variable definitions (`.pkrvars.hcl` and `.auto.pkrvars.hcl`) files,
|
|
|
|
either specified on the command line or automatically loaded.
|
2020-07-13 06:33:16 -04:00
|
|
|
- As environment variables, for example: `PKR_VAR_foo=bar`
|