Martin Atkins
Martin Atkins
If your goal is to parse a Terraform configuration then that is more of a Terraform question than it is an HCL question. HCL is just a collection of syntax...
There is currently no API in `hclwrite` for setting only the `auto_apply` in there. Currently the only APIs available are to replace the entire value of an argument, which in...
Hi @guodongq, By default, `gohcl` will produce an error if there are any arguments in the block that don't correspond to fields you've declared in the structure. If you want...
Hi @guodongq, `gohcl` is not the appropriate level of abstraction for making this sort of partial modification to an existing file, because the decoding and re-encoding process will both lose...
Hi @tonistiigi, Indeed, at the moment the assumption is that your table of functions will be static for all expressions, rather than dynamic based on what the expression is calling....
Hi @notnoop! This seems reasonable to me in principle. I'd like to suggest a couple small tweaks to it in the hope of making it fit better with the existing...
Oh yes, indeed... when we originally wrote these docs Terraform CLI was written to present a map using the object syntax with no extra annotation, because that's how people _typically_...
I think there's an interesting tension here which we'll need to navigate. In the design so far we leaned towards making the prose messages be the primary source of information...
Indeed, while my _original_ intention had been that the path information was there to substitute only for the source location information (since the provider can't "see" the source code in...
I think this is a similar sort of thing as what was discussed in #29024; just mentioning it here to create crosslinks between them for now, since I'm not sure...