hcl2json icon indicating copy to clipboard operation
hcl2json copied to clipboard

Convert hcl2 to json

Results 12 hcl2json issues
Sort by recently updated
recently updated
newest added

Hello I've been using hcl2json to verify some terraform files - it's working great, but I've found a small snag in escape sequence handling that results in ambiguous string value...

Hi, The output of our file with hcl2json being built from master is the following: ``` { "locals": [ { "example": [] } ] } ``` but 0.3.1 produces: ```...

Hi :wave: We noticed this happening on some Terraform source files with our CDKTF convert command which uses this library. Will resolve this issue: https://github.com/hashicorp/terraform-cdk/issues/2911 Related (currently failing) test PR:...

I would like to thank you @tmccombs for writing this library! You think we can make convertBody, convertBlock convertExpression public? I have a requirement where I need to update several...

Having a `result.json` file with the following content: ```json { "var1": "foo", "var2": "bar", "var3": { "key": "value" } } ``` Is it possible to retrieve HCL2 content back? ```hcl2...

help wanted

I want to create a `test folder` and verify whether it is normally converted to `hcl -> json` or `json -> hcl` through the go test command. Can you tell...

Hi, thanks for building such a great utility for HCL We are currently using this library to perform static analysis checks on Terraform HCL files and we wanted to use...

Hello. hcl2json works nice, but there are some cases that after conversion don't work. [Here](https://github.com/PetrusHahol/pyhcl2/tree/master/tests/fixtures) you can see a list of fixtures used for different converter. Passing of those tests...

enhancement
help wanted

Thanks a ton for exposing this functionality, it'll allow us to stop maintaining a local version of this library. Now onto the issue at hand! @sarcasticadmin explained it best in...

It would be helpful to have a `checksums.txt` file provided with the releases. [GoReleaser does it natively](https://goreleaser.com/customization/checksum/#checksums).