mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -06:00
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)`
|
||||
|
||||
* `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
|
||||
at the given index. If the index is greater than the number of
|
||||
|
Loading…
Reference in New Issue
Block a user