hcl2json icon indicating copy to clipboard operation
hcl2json copied to clipboard

Command that converts HCL to JSON

hcl2json

Command that converts HCL to JSON

Install

First, ensure you have your $GOPATH set, and your $GOPATH/bin is in of your $PATH.

go get github.com/renier/hcl2json

Usage

hcl2json foo.hcl bar.json

Or

hcl2json foo.hcl > bar.json