V0.12 native support for HCL to JSON conversion


The article says that there is native support coming for hcl to json conversion in v0.12. Do we have any update post Aug 2018

Hi @Rajeevm2019,

That article is incorrect (or rather, outdated). There are no current plans to produce a tool for converting between HCL and JSON.

Such a conversion should not be necessary, because Terraform already directly supports both formats and allows you to mix them in a single configuration so that you can have human-authored files in native syntax alongside machine-generated files in JSON syntax.

To distinguish between native syntax and JSON syntax, use the .tf suffix for native syntax files and .tf.json for JSON syntax files.