I'm running Terraform 0.11.x and I can't pin the extension to an earlier version. The previous versions fail to load.
Maybe we should fork the repo and revert the changes back by creating a new extension.
I believe the upgrade was brutal and has broken a lot.
Workaround for now:
Remove the 2.0 version
Download the .vsix for 1.4.0 here - https://github.com/hashicorp/vscode-terraform/releases/tag/v1.4.0
Install it into vscode manually
code --install-extension mauve.terraform-v1.4.0.vsix
This appears to be an upstream bug in VS Code: https://github.com/microsoft/vscode/issues/99699#issuecomment-643379024
Going to merge this in to #385 for tracking.
Workaround for now:
Remove the 2.0 version
Download the .vsix for 1.4.0 here - https://github.com/hashicorp/vscode-terraform/releases/tag/v1.4.0
Install it into vscode manually
code --install-extension mauve.terraform-v1.4.0.vsix
Hi, thanks for the work-around, I'm also one of those that's affected by this breaking change.
Do you perhaps know how I would install this inside a Remote Container?
@ciaranevans I have not tried this with a Remote Container, but in WSL the extensions pane shows multiple sections like this (see below) so you can install it in different sides of the runtime, do you get the same in Remote Containers? I'll have to try to spin one up, but haven't had an opportunity yet.

I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the context necessary to investigate further.
Most helpful comment
Workaround for now:
Remove the 2.0 version
Download the .vsix for 1.4.0 here - https://github.com/hashicorp/vscode-terraform/releases/tag/v1.4.0
Install it into vscode manually