kvz / json2hcl

Convert JSON to HCL, and vice versa. We don't use json2hcl anymore ourselves, so we can't invest time into it. However, we're still welcoming PRs.
https://github.com/kvz/json2hcl
MIT License
488 stars 99 forks source link

unable to parse HCL: At 2:17: Unknown token: 2:17 IDENT bool #22

Closed pacorreia closed 1 year ago

pacorreia commented 1 year ago

Hi team,

For some reason the binary is not able to parse the following line: type = bool

Seems it can't handle identation applied by terraform fmt command