{{user}} is not allowed in variables section

https://github.com/hashicorp/packer/issues/1942
This commit is contained in:
Marc Tamsky 2017-04-07 14:19:31 -07:00 committed by GitHub
parent 92ceff4b96
commit 52060e41bf
1 changed files with 3 additions and 2 deletions

View File

@ -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