website: document required user vars

This commit is contained in:
Mitchell Hashimoto 2013-08-31 17:38:38 -07:00
parent ac2a4807d4
commit 2752db25c0
1 changed files with 4 additions and 0 deletions

View File

@ -48,6 +48,10 @@ In the above example, the template defines two variables: `aws_access_key` and
Later, the variables are used within the builder we defined in order to
configure the actual keys for the Amazon builder.
If the default value is `null`, then the user variable will be _required_.
This means that the user must specify a value for this variable or template
validation will fail.
Using the variables is extremely easy. Variables are used by calling
the user function in the form of <code>{{user &#96;variable&#96;}}</code>.
This function can be used in _any string_ within the template, in