Files
Packer-Cn/website/pages/partials/from-1.5/variables/assignment.mdx
T
2020-06-02 12:17:46 +02:00

8 lines
341 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`