terraform-lsp
terraform-lsp copied to clipboard
Support for terraform_remote_state
I am receiving the following message:
Data source terraform_remote_state does not exist Terraform [#, #]
The #
characters represent the line and spacing. I'm receiving this while using the LSP server with version 1.4.75
of the VS Code extension mauve.terraform
. The LSP server version is v0.0.5
.
I use remote states extensively to reference resources created in different state files.
Thanks, Tom
With 0.0.9 and 1.4.0 (not sure what your 1.4.75 refers to) this problem still exists. The option is also not presented in autocompletion, only terraform
is an option.
It looks like they are aware of the issue: https://github.com/mauve/vscode-terraform/issues/157#issuecomment-532828435 and it might be more work than they thought initially: https://github.com/mauve/vscode-terraform/issues/157#issuecomment-532850384
Thanks for those links @freshvolk — I follow that issue, but totally missed those comments in the flurry of activity that happened there.