website: document the join function

This commit is contained in:
Mitchell Hashimoto 2014-10-09 21:23:49 -07:00
parent 61b46c8612
commit f558f7a0c5
1 changed files with 4 additions and 0 deletions

View File

@ -61,5 +61,9 @@ The supported built-in functions are:
in this file are _not_ interpolated. The contents of the file are in this file are _not_ interpolated. The contents of the file are
read as-is. read as-is.
* `join(delim, list)` - Joins the list with the delimiter. A list is
only possible with splat variables from resources with a count
greater than one. Example: `join(",", aws_instance.foo.*.id)`
* `lookup(map, key)` - Performs a dynamic lookup into a mapping * `lookup(map, key)` - Performs a dynamic lookup into a mapping
variable. variable.