Closed osterman closed 3 years ago
config {...}
null
If we merge this map:
terraform: backend: s3: encrypt: true key: "terraform.tfstate" acl: "bucket-owner-full-control" region: "us-east-2"
with this map:
terraform: backend: s3: region: null
we should get
terraform: backend: s3: encrypt: true key: "terraform.tfstate" acl: "bucket-owner-full-control" region: null
using the following job:
job "echo" { option "message" { type = string default = "Hello world!" } config "test" { source file { path = "c1.yaml" } source file { path = "c2.yaml" } } exec { command = "echo" args = [ yamlencode(conf.test) ] } }
but what we actually get is:
"terraform": "backend": "s3": "acl": "bucket-owner-full-control" "encrypt": true "key": "terraform.tfstate" "region": "us-east-2"
what
config {...}
constructnull
null
the value is just ignoredexpectation
If we merge this map:
with this map:
we should get
using the following job:
but what we actually get is: