terraform-lsp icon indicating copy to clipboard operation
terraform-lsp copied to clipboard

Support for terraform_remote_state

Open ghost opened this issue 5 years ago • 3 comments

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

ghost avatar Aug 23 '19 14:08 ghost

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.

ashemedai avatar Oct 03 '19 09:10 ashemedai

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

freshvolk avatar Oct 03 '19 21:10 freshvolk

Thanks for those links @freshvolk — I follow that issue, but totally missed those comments in the flurry of activity that happened there.

ashemedai avatar Oct 04 '19 07:10 ashemedai