Clarify join produces a string
This commit is contained in:
parent
21e2173e0a
commit
6f9b3aa4fd
|
@ -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)`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue