Martin Atkins

Results 1242 comments of Martin Atkins

I also checked on that failing Windows test and it seems like for some reason the Go toolchain thinks it needs to compile some C code in order to build...

Hi @raymyers! Thanks for working on this. I agree that this seems like a valuable thing for `hclwrite` to be able to represent! My lone concern about it is that...

Hi all, Posting +1 here does nothing except create noise for those who are following this issue. Please don't do it. If you want to show your interest, add a...

Hi @pared-brandon, If I'm understanding correctly what you're referring to, that seems like Terraform feedback rather than HCL feedback because the module `source` argument is a Terraform concept. Would you...

Hi @ryysud! I think you're asking this about HCL v1 and so I've labelled it as such. HCL v2 already has such a feature and this is in fact the...

HCL 1 historically made claims about treating certain constructs as equivalent to others, but in practice those claims do not hold consistently. HCL 1's decoding model is flawed, and that...

Hi @nikatjef, The `Body` type has a method [`AppendUnstructuredTokens`](https://pkg.go.dev/github.com/hashicorp/hcl/v2/hclwrite#Body.AppendUnstructuredTokens) for inserting extra tokens that are not nested blocks or arguments. This is similar to the `AppendNewline` method you're already using...

This issue was about the first generation of HCL, which Terraform hasn't used since Terraform v0.12. Terraform uses HCL 2, though I'm not really sure how best to translate this...

Hi @sigil66, At this time the function namespace is flat. I've considered this before as part of potentially allowing Terraform modules and providers to contribute their own modules, but at...

Hi @AdamKorcz, While it does seem reasonable to expand the fuzzing surface here, I don't think it's appropriate for HCL to be importing packages from the Vault module to do...