Closed radeksimko closed 5 years ago
The language used in these errors looks like the language produced by HCL itself when asked to decode a block with a missing required argument, so I'm not sure if this is actually an SDK bug or an HCL bug. Will need to dig in some more to see what's missing here.
I've now seen this same behavior in a different program, so this seems to be a bug either in hcldec
or in the lower-level body.Content
method it is built on.
Terraform Version
369d512e22bf18fd810b8583e6914458abc569aa
Terraform Configuration Files
Expected Behavior
Snippet of code pointing to the right LOC - i.e. to the definition of parent block which is missing arguments.
Actual Behavior
Steps to Reproduce
Additional Context
As documented the arguments reported as missing are arguments nested under
agent_pool_profile
block, which is not obvious from the error output.