mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-08 07:03:16 -06:00
Merge pull request #7533 from mlosapio/master
[docs] Clarify 'join' produces a string
This commit is contained in:
commit
dcda5bfe45
@ -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
Block a user