Martin Atkins
Martin Atkins
Hi @VladRassokhin! Thanks for opening this feature request. Because HCL is a language with automatic type conversions and type inference, we do not vary behavior of operators depending on operand...
Hi @VladRassokhin, The automatic type conversions are an important part of the language (to change that now would be a breaking change for many existing Terraform configurations), were an intentional...
Hi @c4milo, A key design constraint for HCL was that it should be possible to traverse the tree of nested blocks and analyze them _before_ expression evaluation is possible, because...
Thanks for linking to that Terraform issue, which I hadn't considered looking for because my focus here was on the error handling. I think it would be worth exploring a...
Hi @lvrfrc87! It looks like you are using Go in ["GOPATH mode"](https://golang.org/cmd/go/#hdr-Legacy_GOPATH_go_get), which is a legacy mode that doesn't understand Go Modules and therefore can't install HCL v2. HCL 2...
If you aren't working in a legacy codebase that needs to keep using `GOPATH` mode then I think you can force modules mode on by initializing your codebase as a...
Hi @lsegal, `GO111MODULE=on` is a way to force the `go` command to work in "modules mode" even though you are running it inside your `GOPATH`. That's a fine way to...
Hi all! I'm sorry things have continued to be confusing here, but I'm glad to hear that recent Go toolchain updates have helped. At this point GOPATH mode has been...
Hi @brikis98, At the moment there is no default decoding into `interface{}` like this, because the decoder needs some type information to hint how to convert from the HCL type...
Hi @bluebrown, Terraform's configuration decoder is subject to the same requirement of providing a schema in order to decode a HCL body. There is nothing in the Terraform language that...