Command that converts HCL to JSON
First, ensure you have your $GOPATH set, and your $GOPATH/bin is in of your $PATH.
go get github.com/renier/hcl2json
hcl2json foo.hcl bar.json
Or
hcl2json foo.hcl > bar.json
Command that converts HCL to JSON
First, ensure you have your $GOPATH set, and your $GOPATH/bin is in of your $PATH.
go get github.com/renier/hcl2json
hcl2json foo.hcl bar.json
Or
hcl2json foo.hcl > bar.json