Does the default value of the variable map merges with data I provide to the terraform?
Sample variables.tf:
variable "foo" {
type = map
default = {
lorem = "ipsum"
dolor = "sit"
}
}
And foo.tfvars provided:
foo = {
dolor = "changed"
amet = "consectetur"
}
Will ${foo.lorem} still exist?
Will ${foo.dolor} be "changed"?
Will ${foo.amet} be available?