Merge pull request #4781 from tamsky/patch-1

{{user}} is not allowed in variables section
This commit is contained in:
Matthew Hooker 2017-04-07 14:30:24 -07:00 committed by GitHub
commit 790ac07d2d
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
function in the form of <code>{{user \`variable\`}}</code>. This function can be
used in *any value* within the template, in builders, provisioners, *anything*.
The user variable is available globally within the template.
used in *any value* within the template; in builders, provisioners, *anywhere
outside the `variables` section*. The user variable is available globally
within the rest of the template.
## Environment Variables