alltrue
anytrue
chunklist
coalesce
coalescelist
compact
concat
contains
distinct
element
flatten
index
keys
length
list
lookup
map
matchkeys
merge
one
range
reverse
setintersection
setproduct
setsubtract
setunion
slice
sort
sum
transpose
values
zipmap
You are viewing documentation for version v1.8.x. View latest version.
Note: This function is available in Terraform 0.14 and later.
alltrue returns true if all elements in a given collection are true or "true". It also returns true if the collection is empty.
true
"true"
alltrue(list)
> alltrue(["true", true]) true > alltrue([true, false]) false
On this page: