Combine multiple maps into one.
Section: Expressions and Functions
Merge maps
hcl
hcl
locals {
tags = merge(local.common_tags, { owner = "platform" })
}Explanation
Combine multiple maps into one.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Expressions and Functions