Open yerzhant opened 4 years ago
Project structure is like this (vscode is opened in my-project):
my-project
some-dir
terraform
.terraform
terraform.tfstate
This isn't a problem with terraform-lsp
; it's a problem with terraform-ls
, Hashicorp have taken ownership of the vscode plugin and changed it to use their own LSP project.
There are a bunch of issues for this problem already over there.
One fix is to reconfigure the extension to use terraform-lsp
again.
I have a fork of it with some of the PRs outstanding merged in, which I keep built locally, so my config looks like this
"terraform.languageServer": {
"pathToBinary": "/home/awilkins/terraform-lsp/terraform-lsp",
"external": true,
},
After upgrading terraform to v0.12.26 started to get: