mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-02-23 08:01:51 -05:00
Merge pull request #7533 from mlosapio/master
[docs] Clarify 'join' produces a string
This commit is contained in:
@@ -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(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
|
||||
greater than one. Example: `join(",", aws_instance.foo.*.id)`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user