Closed pdecat closed 4 years ago
Oh, interesting... this one seems to be hclwrite
not understanding this legacy HIL-style index syntax .0
instead of [0]
.
If you don't have too many examples of this and want to work around this quickly for now, I think manually rewriting that as follows should fix it:
module "test" {
test = kubernetes_config_map.test.metadata[0].name
}
I'll make an HCL issue for this later, but hopefully that helps as a workaround in the meantime.
On the heels of #2, here's a variant with
TokenOBrack
:Here's the culprit: