mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-31 10:28:23 -04:00
* Update and pin dependencies * Update NextJS Scripts * npm run lint * npm run format * docs generator: indent docs by two and make spacing better Co-authored-by: Adrien Delorme <[email protected]>
9 lines
342 B
Plaintext
9 lines
342 B
Plaintext
## Assigning Values to build Variables
|
|
|
|
Once a variable is declared in your configuration, you can set it:
|
|
|
|
- Individually, with the `-var foo=bar` command line option.
|
|
- In variable definitions (`.pkrvars.hcl`) files, either specified on the
|
|
command line or automatically loaded.
|
|
- As environment variables, for example: `PKR_VAR_foo=bar`
|