Sunteți pe pagina 1din 2

Functions

Monday, August 26, 2019 7:12 PM

> merge({"a"="b", "c"="d"}, {"e"="f", "c"="z"})


{
"a" = "b"
"c" = "z"
"e" = "f"
}

merge takes an arbitrary number of maps and returns a single map that contains a merged set of elements from all of the maps.

If more than one given map defines the same key then the one that is later in the argument sequence takes precedence.

Numeric String Collection Encoding Filesystem Date and Time Hash and Crypto IP Network Type Conversion
abs chomp chunklist base64decode abspath formatdate base64sha256 cidrhost tobool
ceil format coalesce base64encode dirname timeadd base64sha512 cidrnetmask tolist
floor formatlist coalescelist base64gzip pathexpand timestamp bcrypt cidrsubnet tomap
log indent compact csvdecode basename filebase64sha256 tonumber
max join concat jsondecode file filebase64sha512 toset
min lower contains jsonencode fileexists filemd5 tostring
pow regex distinct urlencode filebase64 filesha1

signum regexall element yamldecode templatefile filesha256

replace flatten yamlencode filesha512

split index md5

strrev keys rsadecrypt

substr length sha1


title list sha256
trimspace lookup sha512
upper map uuid
matchkeys uuidv5
merge
range
reverse
setintersection
setproduct
setunion
slice
sort

Terraform Page 1
transpose
values
zipmap

Terraform Page 2

S-ar putea să vă placă și