Clarify join produces a string

This commit is contained in:
Mike LoSapio 2016-07-07 09:51:15 -04:00
parent 21e2173e0a
commit 6f9b3aa4fd
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ The supported built-in functions are:
* `index(list, elem)` - Finds the index of a given element in a list. Example: * `index(list, elem)` - Finds the index of a given element in a list. Example:
`index(aws_instance.foo.*.tags.Name, "foo-test")` `index(aws_instance.foo.*.tags.Name, "foo-test")`
* `join(delim, list)` - Joins the list with the delimiter. A list is * `join(delim, list)` - Joins the list with the delimiter for a resultant string. A list is
only possible with splat variables from resources with a count only possible with splat variables from resources with a count
greater than one. Example: `join(",", aws_instance.foo.*.id)` greater than one. Example: `join(",", aws_instance.foo.*.id)`