Closed myyra closed 2 months ago
Thanks for this. For some reason the drone build system is hanging, so tests and builds are not running. Looks like it's finally time to update this repo to use GH Actions before I'll be able to accept this change.
Thanks @myyra - I finally merged this after some changes in #119
The hcl2 repo was only used for the development phase of HCL 2 and is now archived.
This PR replaces the use of
github.com/hashicorp/hcl2
withgithub.com/hashicorp/hcl/v2
. The APIs are compatible, and the only change is better output formatting (at least subjectively) when using--tf12format
, where it now adds a newline after every opening bracket.Note: some of the files had unrelated changes when using
go fmt
, which I chose not to include in this PR. Please let me know if I should add the formatted changes as well.