Open kamontat opened 1 day ago
Hey @kamontat ,
Does that dependency have any outputs? Has it been applied yet?
If not, you may need to mock those outputs so that the relevant cty values are available for HCL parsing at this phase.
Let me know if any of that doesn't make sense!
Describe the bug
When I try to run
hclvalidate
command on terragrunt.hcl that contains dependency, I gotdependency.namespace is object with 1 attribute "inputs"
.When I try to run
hclvalidate
command with--terragrunt-hclvalidate-show-config-path
, I gotjson: cannot unmarshal string into Go struct field CtyJSONOutput.Value of type map[string]interface {}
.Steps To Reproduce
Create
terragrunt.hcl
with dependency field, and run hclvalidate on that directory.Expected behavior
Similar result as run
tofu validate
.Nice to haves
Versions
v0.68.17
v1.8.5