Add split docs
This commit is contained in:
parent
adccaad252
commit
fa8280a56c
|
@ -72,6 +72,11 @@ The supported built-in functions are:
|
||||||
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)`
|
||||||
|
|
||||||
|
* `split(delim, string)` - Splits the string previously created by `join`
|
||||||
|
back into a list. This is useful for pushing lists through module
|
||||||
|
outputs since they currently only support string values.
|
||||||
|
Example: `split(",", module.amod.server_ids)`
|
||||||
|
|
||||||
* `lookup(map, key)` - Performs a dynamic lookup into a mapping
|
* `lookup(map, key)` - Performs a dynamic lookup into a mapping
|
||||||
variable.
|
variable.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue