{{user}} is not allowed in variables section
https://github.com/hashicorp/packer/issues/1942
This commit is contained in:
parent
92ceff4b96
commit
52060e41bf
|
@ -60,8 +60,9 @@ validation will fail.
|
||||||
|
|
||||||
Using the variables is extremely easy. Variables are used by calling the user
|
Using the variables is extremely easy. Variables are used by calling the user
|
||||||
function in the form of <code>{{user \`variable\`}}</code>. This function can be
|
function in the form of <code>{{user \`variable\`}}</code>. This function can be
|
||||||
used in *any value* within the template, in builders, provisioners, *anything*.
|
used in *any value* within the template; in builders, provisioners, *anywhere
|
||||||
The user variable is available globally within the template.
|
outside the `variables` section*. The user variable is available globally
|
||||||
|
within the rest of the template.
|
||||||
|
|
||||||
## Environment Variables
|
## Environment Variables
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue