2018-12-01 03:23:09 +01:00
|
|
|
locals {
|
|
|
|
list = "${list("a", "b", "c")}"
|
|
|
|
list_concat = "${concat(list("a", "b"), list("c"))}"
|
|
|
|
list_empty = "${list()}"
|
|
|
|
|
|
|
|
map = "${map("a", "b", "c", "d")}"
|
|
|
|
map_merge = "${merge(map("a", "b"), map("c", "d"))}"
|
|
|
|
map_empty = "${map()}"
|
|
|
|
map_invalid = "${map("a", "b", "c")}"
|
|
|
|
|
|
|
|
list_of_map = "${list(map("a", "b"))}"
|
|
|
|
map_of_list = "${map("a", list("b"))}"
|
2018-12-01 03:29:56 +01:00
|
|
|
|
|
|
|
lookup_literal = "${lookup(map("a", "b"), "a")}"
|
|
|
|
lookup_ref = "${lookup(local.map, "a")}"
|
2018-12-01 03:23:09 +01:00
|
|
|
}
|