website: clarify lookup [GH-531]
This commit is contained in:
parent
ab414de0ab
commit
3093268106
|
@ -73,7 +73,8 @@ The supported built-in functions are:
|
||||||
greater than one. Example: `join(",", aws_instance.foo.*.id)`
|
greater than one. Example: `join(",", aws_instance.foo.*.id)`
|
||||||
|
|
||||||
* `lookup(map, key)` - Performs a dynamic lookup into a mapping
|
* `lookup(map, key)` - Performs a dynamic lookup into a mapping
|
||||||
variable.
|
variable. The `map` parameter should be another variable, such
|
||||||
|
as `var.amis`.
|
||||||
|
|
||||||
* `element(list, index)` - Returns a single element from a list
|
* `element(list, index)` - Returns a single element from a list
|
||||||
at the given index. If the index is greater than the number of
|
at the given index. If the index is greater than the number of
|
||||||
|
|
Loading…
Reference in New Issue