I'm having troubles using HCL files at VSCode. When I open the HCL file the indentations are messy. So I fix it and close the file, when I open again...messy again... Someone know a add-ons to works with HCL files?

The official Terraform from Hachicorp not works, because I'm using Terragrunt Syntax. I tried too the another called Hashicorp HCL, but the bugs continues...


Currently, there is only one extension for Visual Studio Code which highlights Terragrunt - https://marketplace.visualstudio.com/items?itemName=4ops.terraform

It is better than nothing.

You can also format Terragrunt configurations before git commit automatically using pre-commit and such config.

  • 1
    Thanks bro! Works to me, but was necessary delete my ~/.vscode/ probably some weird thing there. Mar 3 at 17:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.