Closed haflidif closed 3 years ago
Hi @haflidif
Can you take a look into the output pane, switch to terraform-ls
and search for panic:
and paste anything below (and including) that line which starts with panic
?
Thanks!
I see several issues in the output like this below:
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x746410]
goroutine 214 [running]:
github.com/hashicorp/terraform-schema/schema.(*SchemaMerger).SchemaForModule(0xc00a5e08d8, 0xc00a5e08f0, 0xc004346580, 0x1, 0x1)
github.com/hashicorp/terraform-schema@v0.0.0-20210428174709-ad0461b43827/schema/schema_merge.go:77 +0xcf0
github.com/hashicorp/terraform-ls/internal/terraform/module.(*moduleManager).SchemaForModule(0xc00985a8c0, 0xc00a59a0f0, 0x4b, 0xc00a4e56c0, 0x0, 0x0)
github.com/hashicorp/terraform-ls/internal/terraform/module/module_manager.go:132 +0x173
github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*logHandler).TextDocumentComplete(0xc0000cc7e0, 0xb94de0, 0xc00a580750, 0x3ff0000000000000, 0x0, 0x0, 0xc00a3fc4e0, 0x5d, 0x4010000000000000, 0x4010000000000000, ...)
github.com/hashicorp/terraform-ls/internal/langserver/handlers/complete.go:40 +0x2c9
reflect.Value.call(0x828220, 0xc004b3c1c0, 0x13, 0x8b9051, 0x4, 0xc00a580900, 0x2, 0x2, 0xc00a580900, 0x199, ...)
reflect/value.go:476 +0x907
reflect.Value.Call(0x828220, 0xc004b3c1c0, 0x13, 0xc00a580900, 0x2, 0x2, 0x2, 0xc00a580900, 0x1)
reflect/value.go:337 +0xc5
github.com/creachadair/jrpc2/handler.newHandler.func8(0xb94de0, 0xc00a580750, 0xc00a3bb9c0, 0x0, 0x0, 0x10, 0xc004b3c1c0)
github.com/creachadair/jrpc2@v0.13.0/handler/handler.go:240 +0x1fb
github.com/creachadair/jrpc2/handler.Func.Handle(...)
github.com/creachadair/jrpc2@v0.13.0/handler/handler.go:23
github.com/hashicorp/terraform-ls/internal/langserver/handlers.handle(0xb94de0, 0xc00a580750, 0xc00a3bb9c0, 0x828220, 0xc004b3c1c0, 0xc00985a8c0, 0xb94de0, 0xc00a580750, 0x857a00)
github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:399 +0x9b
github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).Assigner.func8(0xb94de0, 0xc00a580750, 0xc00a3bb9c0, 0x0, 0x0, 0x0, 0x0)
github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:236 +0x23a
reflect.Value.call(0x840300, 0xc00968bbf0, 0x13, 0x8b9051, 0x4, 0xc00a5806c0, 0x2, 0x2, 0xc00a5806c0, 0x0, ...)
reflect/value.go:476 +0x907
reflect.Value.Call(0x840300, 0xc00968bbf0, 0x13, 0xc00a5806c0, 0x2, 0x2, 0x2, 0xc00a5806c0, 0x1)
reflect/value.go:337 +0xc5
github.com/creachadair/jrpc2/handler.newHandler.func8(0xb94de0, 0xc00a580690, 0xc00a3bb9c0, 0x80c3e0, 0xc004b3c1b0, 0x8276e0, 0xc00434b290)
github.com/creachadair/jrpc2@v0.13.0/handler/handler.go:240 +0x1fb
github.com/creachadair/jrpc2/handler.Func.Handle(0xc00887cda0, 0xb94de0, 0xc00a580690, 0xc00a3bb9c0, 0x0, 0x0, 0xb94de0, 0xc00a580690)
github.com/creachadair/jrpc2@v0.13.0/handler/handler.go:23 +0x4b
github.com/creachadair/jrpc2.(*Server).invoke(0xc0088790e0, 0xb94d38, 0xc00a3bba00, 0xb8bdc0, 0xc00887cda0, 0xc00a3bb9c0, 0x0, 0x0, 0x0, 0x0, ...)
github.com/creachadair/jrpc2@v0.13.0/server.go:343 +0x1ae
github.com/creachadair/jrpc2.(*Server).dispatch.func1.1()
github.com/creachadair/jrpc2@v0.13.0/server.go:225 +0xbe
github.com/creachadair/jrpc2.(*Server).dispatch.func1(0x0, 0x331341)
github.com/creachadair/jrpc2@v0.13.0/server.go:230 +0x16a
github.com/creachadair/jrpc2.(*Server).serve.func1(0xc0088790e0, 0xc008903e60)
github.com/creachadair/jrpc2@v0.13.0/server.go:151 +0x58
created by github.com/creachadair/jrpc2.(*Server).serve
github.com/creachadair/jrpc2@v0.13.0/server.go:149 +0x74
[Error - 08:23:12] Connection to server got closed. Server will not be restarted.
[Error - 08:23:12] Request textDocument/completion failed.
Error: Connection got disposed.
at Object.dispose (c:\Users\user\.vscode\extensions\hashicorp.terraform-2.10.1\node_modules\vscode-jsonrpc\lib\common\connection.js:1044:27)
at Object.dispose (c:\Users\user\.vscode\extensions\hashicorp.terraform-2.10.1\node_modules\vscode-languageclient\lib\common\client.js:73:35)
at LanguageClient.handleConnectionClosed (c:\Users\user\.vscode\extensions\hashicorp.terraform-2.10.1\node_modules\vscode-languageclient\lib\common\client.js:2352:42)
at LanguageClient.handleConnectionClosed (c:\Users\user\.vscode\extensions\hashicorp.terraform-2.10.1\node_modules\vscode-languageclient\lib\node\main.js:155:15)
at closeHandler (c:\Users\user\.vscode\extensions\hashicorp.terraform-2.10.1\node_modules\vscode-languageclient\lib\common\client.js:2339:18)
at CallbackList.invoke (c:\Users\user\.vscode\extensions\hashicorp.terraform-2.10.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
at Emitter.fire (c:\Users\user\.vscode\extensions\hashicorp.terraform-2.10.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
at closeHandler (c:\Users\user\.vscode\extensions\hashicorp.terraform-2.10.1\node_modules\vscode-jsonrpc\lib\common\connection.js:256:26)
at CallbackList.invoke (c:\Users\user\.vscode\extensions\hashicorp.terraform-2.10.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
at Emitter.fire (c:\Users\user\.vscode\extensions\hashicorp.terraform-2.10.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
at StreamMessageReader.fireClose (c:\Users\user\.vscode\extensions\hashicorp.terraform-2.10.1\node_modules\vscode-jsonrpc\lib\common\messageReader.js:40:27)
at Socket.<anonymous> (c:\Users\user\.vscode\extensions\hashicorp.terraform-2.10.1\node_modules\vscode-jsonrpc\lib\common\messageReader.js:125:42)
at Socket.emit (events.js:327:22)
at Pipe.<anonymous> (net.js:674:12)
Thank you, this is useful, that is most certainly a bug.
I think I have an idea of how to fix it, but would you mind sharing your whole log as a gist (minus any sensitive data), so I can better understand how did you run into this?
@radeksimko here is the gist: https://gist.github.com/haflidif/a048389575ae9e0d2c6d4ec1b3f41345 this is when I just opened new main.tf file within a module, and also this notification pops up:
I'd still appreciate the whole log including the beginning, especially because the language server performs certain important operations upon launch (e.g. walking through workspace hierarchy, checking TF version and available schema) and the beginning of the log would therefore help me understand the outcome of these operations. That gist unfortunately only contains a few more lines above the panic trace.
I'd like to see the log starting with Launching language server:
.
Knowing all these details is important so that I can reproduce the bug and ensure the real root cause is fixed, as opposed to just ignoring a nil somewhere.
Also if you're worried about sensitive data you may encrypt it using my GPG key: https://keybase.io/radeksimko
@radeksimko I'm facing the same issue. I had to remove some sensitive information from the logs but I hope this helps.
I'd still appreciate the whole log including the beginning, especially because the language server performs certain important operations upon launch (e.g. walking through workspace hierarchy, checking TF version and available schema) and the beginning of the log would therefore help me understand the outcome of these operations. That gist unfortunately only contains a few more lines above the panic trace.
I'd like to see the log starting with
Launching language server:
.Knowing all these details is important so that I can reproduce the bug and ensure the real root cause is fixed, as opposed to just ignoring a nil somewhere.
Also if you're worried about sensitive data you may encrypt it using my GPG key: https://keybase.io/radeksimko
@radeksimko Sorry for the missunderstanding on the log file - but I've updated the log file and removed the sensitive information: https://gist.github.com/haflidif/a048389575ae9e0d2c6d4ec1b3f41345 hope this helps
I have prepared a snapshot build with some added logging and a patch which should avoid the crash.
https://github.com/hashicorp/terraform-ls/commit/01e7770303ae3ece41c42d9e1b7d0cf7fbb72dc2
terraform-ls_v0.16.0-SNAPSHOT-01e7770_darwin_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_darwin_arm64.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_freebsd_386.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_freebsd_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_freebsd_arm.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_linux_386.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_linux_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_linux_arm.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_linux_arm64.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_openbsd_386.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_openbsd_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_solaris_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_windows_386.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_windows_amd64.zip
Can either/both of you try it out locally by unzipping the binary somewhere and set that path in the VS Code settings here
{
"terraform.languageServer": {
"pathToBinary": "/path/to/terraform-ls",
and (after reloading VS Code):
PSS:
in them so I can understand the sequence of events?I still wasn't able to reproduce this yet unfortunately.
I have prepared a snapshot build with some added logging and a patch which should avoid the crash.
hashicorp/terraform-ls@01e7770
terraform-ls_v0.16.0-SNAPSHOT-01e7770_darwin_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_darwin_arm64.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_freebsd_386.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_freebsd_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_freebsd_arm.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_linux_386.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_linux_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_linux_arm.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_linux_arm64.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_openbsd_386.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_openbsd_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_solaris_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_windows_386.zip terraform-ls_v0.16.0-SNAPSHOT-01e7770_windows_amd64.zip
terraform-ls_v0.16.0-SNAPSHOT-01e7770_SHA256SUMS Can either/both of you try it out locally by unzipping the binary somewhere and set that path in the VS Code settings here
{ "terraform.languageServer": { "pathToBinary": "/path/to/terraform-ls",
and (after reloading VS Code):
- confirm the crash no longer occurs
- share the new log, or at least all lines which have
PSS:
in them so I can understand the sequence of events?I still wasn't able to reproduce this yet unfortunately.
I have this problem too, I tried the new LS as you suggested, got this:
2021/04/30 12:58:04 provider_schema.go:195: PSS: getting provider schema (c:\Users\***REDACTED***, registry.terraform.io/-/aws, )
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0xfc6270]
goroutine 25 [running]:
github.com/hashicorp/terraform-schema/schema.(*SchemaMerger).SchemaForModule(0xc000766810, 0xc000766828, 0xc006594050, 0x1, 0x1)
github.com/hashicorp/terraform-schema@v0.0.0-20210428174709-ad0461b43827/schema/schema_merge.go:77 +0xcf0
github.com/hashicorp/terraform-ls/internal/terraform/module.(*moduleManager).SchemaForModule(0xc008684a80, 0xc00aba80f0, 0x4b, 0xc008d05930, 0x0, 0x0)
github.com/hashicorp/terraform-ls/internal/terraform/module/module_manager.go:132 +0x173
github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*logHandler).TextDocumentSemanticTokensFull(0xc0000067e8, 0x140cd00, 0xc0086d80f0, 0xc00a12e000, 0x5d, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
github.com/hashicorp/terraform-ls/internal/langserver/handlers/semantic_tokens.go:54 +0x48c
reflect.Value.call(0x10a8420, 0xc006a74090, 0x13, 0x11390b1, 0x4, 0xc0086d8240, 0x2, 0x2, 0xc0086d8240, 0x199, ...)
reflect/value.go:476 +0x907
reflect.Value.Call(0x10a8420, 0xc006a74090, 0x13, 0xc0086d8240, 0x2, 0x2, 0x2, 0xc0086d8240, 0x1)
reflect/value.go:337 +0xc5
github.com/creachadair/jrpc2/handler.newHandler.func8(0x140cd00, 0xc0086d80f0, 0xc009df0000, 0x0, 0x0, 0x10, 0xc006a74090)
github.com/creachadair/jrpc2@v0.13.0/handler/handler.go:240 +0x1fb
github.com/creachadair/jrpc2/handler.Func.Handle(...)
github.com/creachadair/jrpc2@v0.13.0/handler/handler.go:23
github.com/hashicorp/terraform-ls/internal/langserver/handlers.handle(0x140cd00, 0xc0086d80f0, 0xc009df0000, 0x10a8420, 0xc006a74090, 0xc008684a80, 0x140cd00, 0xc0086d80f0, 0x10d78e0)
github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:400 +0x9b
github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).Assigner.func11(0x140cd00, 0xc0086d80f0, 0xc009df0000, 0x0, 0x0, 0x0, 0x0)
github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:274 +0x23a
reflect.Value.call(0x10c0320, 0xc0086d8480, 0x13, 0x11390b1, 0x4, 0xc0086d8060, 0x2, 0x2, 0xc0086d8060, 0x0, ...)
reflect/value.go:476 +0x907
reflect.Value.Call(0x10c0320, 0xc0086d8480, 0x13, 0xc0086d8060, 0x2, 0x2, 0x2, 0xc0086d8060, 0x1)
reflect/value.go:337 +0xc5
github.com/creachadair/jrpc2/handler.newHandler.func8(0x140cd00, 0xc0086d8030, 0xc009df0000, 0x108c3a0, 0xc006a74080, 0x10a7700, 0xc0091a4018)
github.com/creachadair/jrpc2@v0.13.0/handler/handler.go:240 +0x1fb
github.com/creachadair/jrpc2/handler.Func.Handle(0xc00a276220, 0x140cd00, 0xc0086d8030, 0xc009df0000, 0x0, 0x0, 0x140cd00, 0xc0086d8030)
github.com/creachadair/jrpc2@v0.13.0/handler/handler.go:23 +0x4b
github.com/creachadair/jrpc2.(*Server).invoke(0xc0040e7a40, 0x140cc58, 0xc009df0040, 0x1403ce0, 0xc00a276220, 0xc009df0000, 0x0, 0x0, 0x0, 0x0, ...)
github.com/creachadair/jrpc2@v0.13.0/server.go:343 +0x1ae
github.com/creachadair/jrpc2.(*Server).dispatch.func1.1()
github.com/creachadair/jrpc2@v0.13.0/server.go:225 +0xbe
github.com/creachadair/jrpc2.(*Server).dispatch.func1(0x0, 0xbb12a1)
github.com/creachadair/jrpc2@v0.13.0/server.go:230 +0x16a
github.com/creachadair/jrpc2.(*Server).serve.func1(0xc0040e7a40, 0xc007286120)
github.com/creachadair/jrpc2@v0.13.0/server.go:151 +0x58
created by github.com/creachadair/jrpc2.(*Server).serve
github.com/creachadair/jrpc2@v0.13.0/server.go:149 +0x74
[Error - 12:58:04 PM] Connection to server got closed. Server will not be restarted.
[Error - 12:58:04 PM] Request textDocument/semanticTokens/full failed.
Error: Connection got disposed.
at Object.dispose (c:\Users\Hexa\.vscode\extensions\hashicorp.terraform-2.10.0\node_modules\vscode-jsonrpc\lib\common\connection.js:1044:27)
at Object.dispose (c:\Users\Hexa\.vscode\extensions\hashicorp.terraform-2.10.0\node_modules\vscode-languageclient\lib\common\client.js:73:35)
at LanguageClient.handleConnectionClosed (c:\Users\Hexa\.vscode\extensions\hashicorp.terraform-2.10.0\node_modules\vscode-languageclient\lib\common\client.js:2352:42)
at LanguageClient.handleConnectionClosed (c:\Users\Hexa\.vscode\extensions\hashicorp.terraform-2.10.0\node_modules\vscode-languageclient\lib\node\main.js:155:15)
at closeHandler (c:\Users\Hexa\.vscode\extensions\hashicorp.terraform-2.10.0\node_modules\vscode-languageclient\lib\common\client.js:2339:18)
at CallbackList.invoke (c:\Users\Hexa\.vscode\extensions\hashicorp.terraform-2.10.0\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
at Emitter.fire (c:\Users\Hexa\.vscode\extensions\hashicorp.terraform-2.10.0\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
at closeHandler (c:\Users\Hexa\.vscode\extensions\hashicorp.terraform-2.10.0\node_modules\vscode-jsonrpc\lib\common\connection.js:256:26)
at CallbackList.invoke (c:\Users\Hexa\.vscode\extensions\hashicorp.terraform-2.10.0\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
at Emitter.fire (c:\Users\Hexa\.vscode\extensions\hashicorp.terraform-2.10.0\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
at StreamMessageReader.fireClose (c:\Users\Hexa\.vscode\extensions\hashicorp.terraform-2.10.0\node_modules\vscode-jsonrpc\lib\common\messageReader.js:40:27)
at Socket.<anonymous> (c:\Users\Hexa\.vscode\extensions\hashicorp.terraform-2.10.0\node_modules\vscode-jsonrpc\lib\common\messageReader.js:125:42)
at Socket.emit (events.js:327:22)
at Pipe.<anonymous> (net.js:674:12)
@kasvtv I can see this is being triggered by aws provider with a legacy address (something that Terraform <= 0.12 would produce) and one that isn't pinned to particular version - these are some useful data points.
I just made another small change based on this data and prepared a new snapshot build:
terraform-ls_v0.16.0-SNAPSHOT-04638ce_darwin_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_darwin_arm64.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_freebsd_386.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_freebsd_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_freebsd_arm.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_linux_386.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_linux_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_linux_arm.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_linux_arm64.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_openbsd_386.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_openbsd_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_solaris_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_windows_386.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_windows_amd64.zip
Can you give that one a try?
I was having the same problems while yesterday everything was alright, is there anything I could do to try helping?
@aylton-almeida you can try out the last snapshot build by unzipping the binary somewhere and set that path in the VS Code settings here
{
"terraform.languageServer": {
"pathToBinary": "/path/to/terraform-ls",
and (after reloading VS Code):
PSS:
in them so I can understand the sequence of events?@radeksimko Just did it, everything seems to be working fine on Windows. Here goes the log
Launching language server: C:\Users\***REDACTED***\terraform-ls.exe serve for folder: file:///c%3A/Users/aylto/***REDACTED***
2021/04/30 10:15:11 serve_command.go:137: Starting terraform-ls 0.16.0-snapshot.04638ce
2021/04/30 10:15:11 service.go:75: Preparing new session ...
2021/04/30 10:15:14 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/local, 2.1.0): 0x1681ec10
2021/04/30 10:15:14 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/ionos-cloud/profitbricks, 1.6.5): 0x1681f250
2021/04/30 10:15:14 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/ovh/ovh, 0.11.0): 0x17110280
2021/04/30 10:15:14 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/volterraedge/volterra, 0.3.0): 0x17552d90
2021/04/30 10:15:15 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/equinix/equinix, 1.1.0): 0x19444f70
2021/04/30 10:15:15 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/aws, 3.36.0): 0x196129e0
2021/04/30 10:15:15 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/google-beta, 3.63.0): 0x1417e690
2021/04/30 10:15:15 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/logicmonitor/logicmonitor, 1.3.4): 0x16254f70
2021/04/30 10:15:15 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/splunk/splunk, 1.4.2): 0x17b66560
2021/04/30 10:15:15 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/alertmixer/amixr, 0.2.3): 0x174b6740
2021/04/30 10:15:15 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/gitlabhq/gitlab, 3.6.0): 0x174b7a40
2021/04/30 10:15:15 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/rancher/rke, 1.2.1): 0x1709ac30
2021/04/30 10:15:15 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/vmware/vra7, 3.0.2): 0x16a085c0
2021/04/30 10:15:15 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/datadog/datadog, 2.24.0): 0x16a09460
2021/04/30 10:15:15 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/random, 3.1.0): 0x12915b50
2021/04/30 10:15:15 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/heroku/heroku, 4.1.1): 0x129f4d10
2021/04/30 10:15:15 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/turbot/turbot, 1.8.2): 0x12d01710
2021/04/30 10:15:15 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/cloudtamer-io/cloudtamerio, 0.1.2): 0x15ef7480
2021/04/30 10:15:15 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/fortinetdev/fortios, 1.11.0): 0x160fcb00
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/grafana/grafana, 1.9.0): 0x13f47c90
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/llnw/limelight, 1.0.3): 0x13f8d490
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/mongodb/mongodbatlas, 0.8.2): 0x13f8df50
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/oktadeveloper/oktaasa, 1.0.1): 0x14107fa0
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/sumologic/sumologic, 2.9.1): 0x14162510
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/vmware/avi, 20.1.4): 0x14681360
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/cloudsmith-io/cloudsmith, 0.0.5): 0x18cf4660
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/http, 2.1.0): 0x18cf4f30
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/null, 3.1.0): 0x18cf5210
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/splunk/victorops, 0.1.3): 0x18cf55a0
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/tencentcloudstack/tencentcloud, 1.56.1): 0x18cf5f30
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/zerotier/zerotier, 0.1.47): 0x174271c0
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/cloudsigma/cloudsigma, 1.3.0): 0x175e6060
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/fastly/fastly, 0.28.2): 0x17a3e6f0
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/azurerm, 2.55.0): 0x177970a0
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/vsphere, 1.25.0): 0x13edebe0
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/vmware/vcd, 3.2.0): 0x13f6bc00
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/anexia-it/anxcloud, 0.3.0): 0x1410c700
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/ciscoasa, 1.2.0): 0x141302d0
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/oraclepaas, 1.5.3): 0x14130fa0
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/aztfmod/azurecaf, 1.2.2): 0x141977c0
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/ciscodevnet/mso, 0.1.5): 0x14197e00
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/f5networks/bigip, 1.8.0): 0x141f0a90
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/consul, 2.11.0): 0x14238f10
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/linode/linode, 1.16.0): 0x14268a90
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/ciscodevnet/aci, 0.5.4): 0x142be3f0
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/exoscale/exoscale, 0.23.0): 0x14b56700
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/jfrog/artifactory, 2.2.9): 0x14ce8c20
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/logzio/logzio, 1.1.8): 0x14e88970
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/skytap/skytap, 0.14.4): 0x14e89dc0
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/circonus-labs/circonus, 0.12.0): 0x14f29460
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/ciscodevnet/dcnm, 0.0.5): 0x1518f7e0
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/time, 0.7.0): 0x151f2f40
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/netapp/netapp-elementsw, 20.11.0): 0x151f3a00
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/stackpath/stackpath, 1.3.3): 0x15220160
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/cloudscale-ch/cloudscale, 2.3.0): 0x1528e440
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/boundary, 1.0.1): 0x1528f640
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/opennebula/opennebula, 0.3.0): 0x152c0610
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/packethost/packet, 3.2.1): 0x15335110
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/integrations/github, 4.8.0): 0x1539c9c0
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/opsgenie/opsgenie, 0.6.3): 0x15409330
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/signalsciences/sigsci, 0.4.1): 0x154a5780
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/vmware/vmc, 1.5.1): 0x154d9810
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/vmware/vra, 0.3.5): 0x1550edf0
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/a10networks/thunder, 0.4.23): 0x19d68610
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/buildkite/buildkite, 0.3.0): 0x175e7650
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/ns1-terraform/ns1, 1.9.4): 0x17a3ea90
2021/04/30 10:15:16 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/rancher/rancher2, 1.13.0): 0x17bf2540
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/checkly/checkly, 1.0.0): 0x124db1f0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/gridscale/gridscale, 1.8.4): 0x125e3e90
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/azuread, 1.4.0): 0x15ef6dd0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/onelogin/onelogin, 0.1.12): 0x160fd4c0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/checkpointsw/checkpoint, 1.4.0): 0x162e84f0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/transloadit/transloadit, 0.3.0): 0x17745e60
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/cloudflare/cloudflare, 2.19.2): 0x19272240
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/lacework/lacework, 0.3.1): 0x1417eda0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/hcs, 0.2.0): 0x1497d5a0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/consensys/quorum, 0.2.0): 0x1265b430
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/kubernetes-alpha, 0.3.2): 0x1265bf50
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/joyent/triton, 0.8.1): 0x126e6430
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/sematext/sematext, 0.4.0): 0x1270cc90
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/aiven/aiven, 2.1.11): 0x1275c130
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/opc, 1.4.1): 0x14162850
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/oktadeveloper/okta, 3.10.1): 0x121b1b60
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/upcloudltd/upcloud, 2.0.0): 0x13f6bba0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/civo/civo, 0.9.23): 0x1410d5f0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/cloudinit, 2.2.0): 0x141967f0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/hcp, 0.4.1): 0x14196e00
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/microsoft/azuredevops, 0.1.3): 0x141f1e10
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/nutanix/nutanixkps, 1.1.8): 0x142382b0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/vmware/wavefront, 2.8.3): 0x14239c20
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/launchdarkly/launchdarkly, 1.5.1): 0x14269780
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/pagerduty/pagerduty, 1.9.6): 0x1467ec20
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/phoenixnap/pnap, 0.6.0): 0x14b56e00
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/strongdm/sdm, 1.0.19): 0x14b57350
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/vmware/nsxt, 3.1.1): 0x1518fc50
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/aristanetworks/cloudeos, 1.1.1): 0x1424fae0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/google, 3.63.0): 0x14275d80
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/tfe, 0.24.0): 0x15821f00
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (terraform.io/builtin/terraform, <nil>): 0x1587a750
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/spotinst/spotinst, 1.37.0): 0x1587a9a0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/alkiranet/alkira, 0.5.1): 0x15a6ce60
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/aviatrixsystems/aviatrix, 2.18.2): 0x15aaf950
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/helm, 2.1.0): 0x159bf5a0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/kubernetes, 2.0.3): 0x15bbf270
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/paloaltonetworks/panos, 1.8.2): 0x16a09460
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/nutanix/nutanix, 1.2.0): 0x124da060
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/venafi/venafi, 0.11.2): 0x15fff4e0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/brightbox/brightbox, 2.0.3): 0x15fffd70
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/dome9/dome9, 1.21.1): 0x161e5330
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/archive, 2.1.0): 0x1681e210
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/netapp/netapp-cloudmanager, 21.3.0): 0x1681eda0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/newrelic/newrelic, 2.21.0): 0x17005ae0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/digitalocean/digitalocean, 2.7.0): 0x173f9820
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/nomad, 1.4.14): 0x13d16550
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/tls, 3.1.0): 0x13f00c90
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/configcat/configcat, 1.0.2): 0x13f01d00
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/vault, 2.19.0): 0x1417eb70
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/splunk-terraform/signalfx, 6.7.3): 0x12c98d90
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/octopusdeploylabs/octopusdeploy, 0.7.22): 0x1326eb00
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/paloaltonetworks/prismacloud, 1.1.0): 0x13f8cdd0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/advancedhosting/ah, 0.1.4): 0x14162e00
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/template, 2.2.0): 0x14680c80
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/ilert/ilert, 1.3.0): 0x146814f0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/ionos-cloud/ionoscloud, 5.0.4): 0x121b0e50
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/netapp/netapp-gcp, 21.4.0): 0x14ec9ea0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/vultr/vultr, 2.2.0): 0x15021450
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/akamai/akamai, 1.5.0): 0x13f356f0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/azurestack, 0.9.0): 0x141f12a0
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/external, 2.1.0): 0x14238c50
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/oci, 4.21.0): 0x14238f20
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/verizondigital/vmp, 0.1.1): 0x15eee650
2021/04/30 10:15:17 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/nttcom/ecl, 2.0.0): 0x15eefad0
2021/04/30 10:15:18 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/scaleway/scaleway, 2.0.0): 0x1624d2d0
2021/04/30 10:15:18 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/aliyun/alicloud, 1.121.0): 0x16461430
2021/04/30 10:15:18 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/databrickslabs/databricks, 0.3.2): 0x187505c0
2021/04/30 10:15:18 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/dynatrace-oss/dynatrace, 1.0.5): 0x17b67790
2021/04/30 10:15:18 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/ad, 0.4.1): 0x16bf1ac0
2021/04/30 10:15:18 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/icinga/icinga2, 0.5.0): 0x1731d1f0
2021/04/30 10:15:18 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hetznercloud/hcloud, 1.26.0): 0x1731dc90
2021/04/30 10:15:18 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/redislabs/rediscloud, 0.2.1): 0x1621cfc0
2021/04/30 10:15:18 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/rollbar/rollbar, 1.0.6): 0x16a09560
2021/04/30 10:15:18 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/ciscodevnet/intersight, 1.0.5): 0x16afa6d0
2021/04/30 10:15:18 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/constellix/constellix, 0.3.7): 0x1550fa10
2021/04/30 10:15:18 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/dnsmadeeasy/dme, 0.1.3): 0x157d1940
2021/04/30 10:15:18 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/equinix/metal, 1.1.0): 0x158208a0
2021/04/30 10:15:18 provider_schema.go:158: PSS: adding preloaded schema (registry.terraform.io/hashicorp/dns, 3.1.0): 0x1587a2f0
2021/04/30 10:15:18 watcher.go:221: watching for changes ...
2021/04/30 10:15:18 langserver.go:69: Starting server (pid 1396) ...
2021/04/30 10:15:18 server.go:581: Received 1 new requests
2021/04/30 10:15:18 server.go:174: Processing 1 requests
2021/04/30 10:15:18 server.go:265: Checking request for "initialize": {"processId":5024,"clientInfo":{"name":"vscode","version":"1.55.2"},"rootPath":"c:\\Users\\aylto***REDACTED***","rootUri":"file:///c%3A/Users/aylto/***REDACTED***","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional"},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"tagSupport":{"valueSet":[1]}},"executeCommand":{"dynamicRegistration":true},"configuration":true,"workspaceFolders":true,"semanticTokens":{"refreshSupport":true}},"textDocument":{"publishDiagnostics":{"relatedInformation":true,"versionSupport":false,"tagSupport":{"valueSet":[1,2]},"codeDescriptionSupport":true,"dataSupport":true},"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"contextSupport":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"preselectSupport":true,"tagSupport":{"valueSet":[1]},"insertReplaceSupport":true,"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]}},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true},"activeParameterSupport":true},"contextSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true,"tagSupport":{"valueSet":[1]},"labelSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"disabledSupport":true,"dataSupport":true,"resolveSupport":{"properties":["edit"]},"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"codeLens":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true,"prepareSupportDefaultBehavior":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"colorProvider":{"dynamicRegistration":true},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"selectionRange":{"dynamicRegistration":true},"callHierarchy":{"dynamicRegistration":true},"semanticTokens":{"dynamicRegistration":true,"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","member","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":["relative"],"requests":{"range":true,"full":{"delta":true}}}},"window":{"workDoneProgress":true}},"initializationOptions":{"commandPrefix":"2","experimentalFeatures":{}},"trace":"off","workspaceFolders":[{"uri":"file:///c%3A/Users/aylto/***REDACTED***","name":"aws-terraform"}]}
2021/04/30 10:15:18 rpc_logger.go:29: Incoming request for "initialize" (ID 0): {"processId":5024,"clientInfo":{"name":"vscode","version":"1.55.2"},"rootPath":"c:\\Users\\aylto***REDACTED***","rootUri":"file:///c%3A/Users/aylto/***REDACTED***","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional"},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"tagSupport":{"valueSet":[1]}},"executeCommand":{"dynamicRegistration":true},"configuration":true,"workspaceFolders":true,"semanticTokens":{"refreshSupport":true}},"textDocument":{"publishDiagnostics":{"relatedInformation":true,"versionSupport":false,"tagSupport":{"valueSet":[1,2]},"codeDescriptionSupport":true,"dataSupport":true},"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"contextSupport":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"preselectSupport":true,"tagSupport":{"valueSet":[1]},"insertReplaceSupport":true,"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]}},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true},"activeParameterSupport":true},"contextSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true,"tagSupport":{"valueSet":[1]},"labelSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"disabledSupport":true,"dataSupport":true,"resolveSupport":{"properties":["edit"]},"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"codeLens":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true,"prepareSupportDefaultBehavior":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"colorProvider":{"dynamicRegistration":true},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"selectionRange":{"dynamicRegistration":true},"callHierarchy":{"dynamicRegistration":true},"semanticTokens":{"dynamicRegistration":true,"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","member","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":["relative"],"requests":{"range":true,"full":{"delta":true}}}},"window":{"workDoneProgress":true}},"initializationOptions":{"commandPrefix":"2","experimentalFeatures":{}},"trace":"off","workspaceFolders":[{"uri":"file:///c%3A/Users/aylto/***REDACTED***","name":"aws-terraform"}]}
2021/04/30 10:15:18 walker.go:103: asynchronously walking through c:\Users\aylto***REDACTED***
2021/04/30 10:15:18 rpc_logger.go:50: Response to "initialize" (ID 0): {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{},"hoverProvider":true,"signatureHelpProvider":{},"documentSymbolProvider":true,"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":""},"executeCommandProvider":{"commands":["2.terraform-ls.rootmodules","2.terraform-ls.terraform.init","2.terraform-ls.terraform.validate"],"workDoneProgress":true},"semanticTokensProvider":{"legend":{"tokenTypes":["type","string","property","keyword","number","parameter"],"tokenModifiers":["deprecated","modification"]},"full":true},"workspace":{"workspaceFolders":{}}},"serverInfo":{"name":"terraform-ls","version":"0.16.0-snapshot.04638ce"}}
2021/04/30 10:15:18 server.go:246: Completed 1 requests [2.0032ms elapsed]
2021/04/30 10:15:18 walker.go:197: skipping c:\Users\aylto***REDACTED***\.git
2021/04/30 10:15:18 walker.go:151: found module c:\Users\aylto***REDACTED***\terraform
2021/04/30 10:15:18 module_manager.go:69: MM: adding new module: c:\Users\aylto***REDACTED***\terraform
2021/04/30 10:15:18 module_loader.go:196: ML: enqueing "OpTypeGetTerraformVersion" module operation: c:\Users\aylto***REDACTED***\terraform
2021/04/30 10:15:18 module_loader.go:196: ML: enqueing "OpTypeParseModuleManifest" module operation: c:\Users\aylto***REDACTED***\terraform
2021/04/30 10:15:18 module_loader.go:196: ML: enqueing "OpTypeObtainSchema" module operation: c:\Users\aylto***REDACTED***\terraform
2021/04/30 10:15:18 module_loader.go:148: executing "OpTypeGetTerraformVersion" for c:\Users\aylto***REDACTED***\terraform
2021/04/30 10:15:18 module_loader.go:148: executing "OpTypeParseModuleManifest" for c:\Users\aylto***REDACTED***\terraform
2021/04/30 10:15:18 module_loader.go:148: executing "OpTypeObtainSchema" for c:\Users\aylto***REDACTED***\terraform
2021/04/30 10:15:18 module_loader.go:177: finished "OpTypeParseModuleManifest" for c:\Users\aylto***REDACTED***\terraform
2021/04/30 10:15:18 server.go:581: Received 1 new requests
2021/04/30 10:15:18 server.go:581: Received 1 new requests
2021/04/30 10:15:18 server.go:174: Processing 1 requests
2021/04/30 10:15:18 server.go:265: Checking request for "initialized": {}
2021/04/30 10:15:18 server.go:174: Processing 1 requests
2021/04/30 10:15:18 server.go:265: Checking request for "textDocument/didOpen": {"textDocument":{"uri":"file:///c%3A/Users/aylto/***REDACTED***/terraform/modules/ec2/main.tf","languageId":"terraform","version":1,"text":"# create api and web load balancers\n\nresource \"aws_lb\" \"zapt-web-lb\" {\n\n}\n\nresource \"aws_lb\" \"name\" {\n\n}\n"}}
2021/04/30 10:15:18 rpc_logger.go:29: Incoming notification for "initialized": {}
2021/04/30 10:15:18 rpc_logger.go:29: Incoming notification for "textDocument/didOpen": {"textDocument":{"uri":"file:///c%3A/Users/aylto/***REDACTED***/terraform/modules/ec2/main.tf","languageId":"terraform","version":1,"text":"# create api and web load balancers\n\nresource \"aws_lb\" \"zapt-web-lb\" {\n\n}\n\nresource \"aws_lb\" \"name\" {\n\n}\n"}}
2021/04/30 10:15:18 walker.go:151: found module c:\Users\aylto***REDACTED***\terraform\modules\network
2021/04/30 10:15:18 module_manager.go:69: MM: adding new module: c:\Users\aylto***REDACTED***\terraform\modules\network
2021/04/30 10:15:18 module_loader.go:196: ML: enqueing "OpTypeGetTerraformVersion" module operation: c:\Users\aylto***REDACTED***\terraform\modules\network
2021/04/30 10:15:18 module_loader.go:196: ML: enqueing "OpTypeObtainSchema" module operation: c:\Users\aylto***REDACTED***\terraform\modules\network
2021/04/30 10:15:18 module_manager.go:69: MM: adding new module: c:\Users\aylto***REDACTED***\terraform\modules\ec2
2021/04/30 10:15:18 did_open.go:44: opened module: c:\Users\aylto***REDACTED***\terraform\modules\ec2
2021/04/30 10:15:18 module_loader.go:196: ML: enqueing "OpTypeParseConfiguration" module operation: c:\Users\aylto***REDACTED***\terraform\modules\ec2
2021/04/30 10:15:18 module_loader.go:148: executing "OpTypeGetTerraformVersion" for c:\Users\aylto***REDACTED***\terraform\modules\network
2021/04/30 10:15:18 module_loader.go:118: no available capacity, retrying dispatch
2021/04/30 10:15:18 walker.go:151: found module c:\Users\aylto***REDACTED***\terraform\state
2021/04/30 10:15:18 module_manager.go:69: MM: adding new module: c:\Users\aylto***REDACTED***\terraform\state
2021/04/30 10:15:18 module_loader.go:196: ML: enqueing "OpTypeGetTerraformVersion" module operation: c:\Users\aylto***REDACTED***\terraform\state
2021/04/30 10:15:18 server.go:581: Received 1 new requests
2021/04/30 10:15:18 server.go:581: Received 1 new requests
2021/04/30 10:15:18 server.go:174: Processing 1 requests
2021/04/30 10:15:18 server.go:265: Checking request for "textDocument/documentSymbol": {"textDocument":{"uri":"file:///c%3A/Users/aylto/***REDACTED***/terraform/modules/ec2/main.tf"}}
2021/04/30 10:15:18 module_loader.go:196: ML: enqueing "OpTypeObtainSchema" module operation: c:\Users\aylto***REDACTED***\terraform\state
2021/04/30 10:15:18 module_loader.go:118: no available capacity, retrying dispatch
2021/04/30 10:15:19 module_loader.go:118: no available capacity, retrying dispatch
2021/04/30 10:15:19 server.go:581: Received 1 new requests
2021/04/30 10:15:19 server.go:581: Received 1 new requests
2021/04/30 10:15:19 server.go:581: Received 1 new requests
2021/04/30 10:15:19 module_loader.go:163: failed to obtain schema: exit status 1
Error: "region": required field is not set
2021/04/30 10:15:19 module_loader.go:165: finished "OpTypeObtainSchema" for c:\Users\aylto***REDACTED***\terraform
2021/04/30 10:15:19 module_loader.go:118: no available capacity, retrying dispatch
2021/04/30 10:15:19 module_loader.go:159: finished "OpTypeGetTerraformVersion" for c:\Users\aylto***REDACTED***\terraform
2021/04/30 10:15:19 module_loader.go:159: finished "OpTypeGetTerraformVersion" for c:\Users\aylto***REDACTED***\terraform\modules\network
2021/04/30 10:15:19 walker.go:203: walking of c:\Users\aylto***REDACTED*** finished
2021/04/30 10:15:19 walker.go:76: stopping walker
2021/04/30 10:15:19 walker.go:109: async walking through c:\Users\aylto***REDACTED*** finished
2021/04/30 10:15:19 module_loader.go:148: executing "OpTypeObtainSchema" for c:\Users\aylto***REDACTED***\terraform\state
2021/04/30 10:15:19 module_loader.go:148: executing "OpTypeParseConfiguration" for c:\Users\aylto***REDACTED***\terraform\modules\ec2
2021/04/30 10:15:19 module_loader.go:148: executing "OpTypeGetTerraformVersion" for c:\Users\aylto***REDACTED***\terraform\state
2021/04/30 10:15:19 module_loader.go:118: no available capacity, retrying dispatch
2021/04/30 10:15:19 module_loader.go:171: finished "OpTypeParseConfiguration" for c:\Users\aylto***REDACTED***\terraform\modules\ec2
2021/04/30 10:15:19 module_loader.go:196: ML: enqueing "OpTypeLoadModuleMetadata" module operation: c:\Users\aylto***REDACTED***\terraform\modules\ec2
2021/04/30 10:15:19 module_loader.go:148: executing "OpTypeLoadModuleMetadata" for c:\Users\aylto***REDACTED***\terraform\modules\ec2
2021/04/30 10:15:19 module_loader.go:118: no available capacity, retrying dispatch
2021/04/30 10:15:19 module_loader.go:183: finished "OpTypeLoadModuleMetadata" for c:\Users\aylto***REDACTED***\terraform\modules\ec2
2021/04/30 10:15:19 module_loader.go:196: ML: enqueing "OpTypeGetTerraformVersion" module operation: c:\Users\aylto***REDACTED***\terraform\modules\ec2
2021/04/30 10:15:19 watcher.go:75: adding module for watching: c:\Users\aylto***REDACTED***\terraform\modules\ec2
2021/04/30 10:15:19 server.go:174: Processing 1 requests
2021/04/30 10:15:19 server.go:265: Checking request for "textDocument/documentLink": {"textDocument":{"uri":"file:///c%3A/Users/aylto/***REDACTED***/terraform/modules/ec2/main.tf"}}
2021/04/30 10:15:19 server.go:174: Processing 1 requests
2021/04/30 10:15:19 server.go:265: Checking request for "textDocument/codeLens": {"textDocument":{"uri":"file:///c%3A/Users/aylto/***REDACTED***/terraform/modules/ec2/main.tf"}}
2021/04/30 10:15:19 server.go:297: Task error: [-32601] no such method "textDocument/codeLens"
2021/04/30 10:15:19 server.go:174: Processing 1 requests
2021/04/30 10:15:19 server.go:265: Checking request for "textDocument/codeLens": {"textDocument":{"uri":"file:///c%3A/Users/aylto/***REDACTED***/terraform/modules/ec2/main.tf"}}
2021/04/30 10:15:19 server.go:297: Task error: [-32601] no such method "textDocument/codeLens"
2021/04/30 10:15:19 server.go:174: Processing 1 requests
2021/04/30 10:15:19 server.go:265: Checking request for "textDocument/semanticTokens/full": {"textDocument":{"uri":"file:///c%3A/Users/aylto/***REDACTED***/terraform/modules/ec2/main.tf"}}
2021/04/30 10:15:19 rpc_logger.go:29: Incoming request for "textDocument/documentSymbol" (ID 1): {"textDocument":{"uri":"file:///c%3A/Users/aylto/***REDACTED***/terraform/modules/ec2/main.tf"}}
2021/04/30 10:15:19 rpc_logger.go:45: Error for "textDocument/codeLens" (ID 3): [-32601] no such method "textDocument/codeLens"
2021/04/30 10:15:19 server.go:246: Completed 1 requests [524.7µs elapsed]
2021/04/30 10:15:19 rpc_logger.go:50: Response to "textDocument/documentSymbol" (ID 1): [{"name":"resource \"aws_lb\" \"zapt-web-lb\"","kind":5,"range":{"start":{"line":2,"character":0},"end":{"line":4,"character":1}},"selectionRange":{"start":{"line":2,"character":0},"end":{"line":4,"character":1}}},{"name":"resource \"aws_lb\" \"name\"","kind":5,"range":{"start":{"line":6,"character":0},"end":{"line":8,"character":1}},"selectionRange":{"start":{"line":6,"character":0},"end":{"line":8,"character":1}}}]
2021/04/30 10:15:19 server.go:246: Completed 1 requests [522.8244ms elapsed]
2021/04/30 10:15:19 rpc_logger.go:45: Error for "textDocument/codeLens" (ID 4): [-32601] no such method "textDocument/codeLens"
2021/04/30 10:15:19 server.go:246: Completed 1 requests [1.0316ms elapsed]
2021/04/30 10:15:19 rpc_logger.go:29: Incoming request for "textDocument/semanticTokens/full" (ID 5): {"textDocument":{"uri":"file:///c%3A/Users/aylto/***REDACTED***/terraform/modules/ec2/main.tf"}}
[Error - 10:15:19] Request textDocument/codeLens failed.
Message: no such method "textDocument/codeLens"
Code: -32601
2021/04/30 10:15:19 provider_schema.go:195: PSS: getting provider schema (c:\Users\aylto***REDACTED***\terraform\modules\ec2, registry.terraform.io/-/aws, )
2021/04/30 10:15:19 provider_schema.go:239: PSS: found hashicorp schema for legacy provider (registry.terraform.io/hashicorp/aws) -> local(c:\Users\aylto***REDACTED***\terraform) registry.terraform.io/hashicorp/aws: 0x0
2021/04/30 10:15:19 provider_schema.go:274: PSS: returning schema for c:\Users\aylto***REDACTED***\terraform\modules\ec2 (registry.terraform.io/hashicorp/aws ): 0x19612a80
[Error - 10:15:19] Request textDocument/codeLens failed.
Message: no such method "textDocument/codeLens"
Code: -32601
2021/04/30 10:15:19 rpc_logger.go:50: Response to "textDocument/semanticTokens/full" (ID 5): {"data":[2,0,8,0,0,0,9,8,1,2,0,9,13,1,0,4,0,8,0,0,0,9,8,1,2,0,9,6,1,0]}
2021/04/30 10:15:19 server.go:246: Completed 1 requests [8.7972ms elapsed]
2021/04/30 10:15:19 rpc_logger.go:29: Incoming request for "textDocument/documentLink" (ID 2): {"textDocument":{"uri":"file:///c%3A/Users/aylto/***REDACTED***/terraform/modules/ec2/main.tf"}}
2021/04/30 10:15:19 provider_schema.go:195: PSS: getting provider schema (c:\Users\aylto***REDACTED***\terraform\modules\ec2, registry.terraform.io/-/aws, )
2021/04/30 10:15:19 provider_schema.go:239: PSS: found hashicorp schema for legacy provider (registry.terraform.io/hashicorp/aws) -> local(c:\Users\aylto***REDACTED***\terraform) registry.terraform.io/hashicorp/aws: 0x0
2021/04/30 10:15:19 provider_schema.go:274: PSS: returning schema for c:\Users\aylto***REDACTED***\terraform\modules\ec2 (registry.terraform.io/hashicorp/aws ): 0x19612a80
2021/04/30 10:15:19 rpc_logger.go:50: Response to "textDocument/documentLink" (ID 2): []
2021/04/30 10:15:19 server.go:246: Completed 1 requests [13.3041ms elapsed]
2021/04/30 10:15:19 module_loader.go:148: executing "OpTypeGetTerraformVersion" for c:\Users\aylto***REDACTED***\terraform\modules\ec2
2021/04/30 10:15:19 module_loader.go:118: no available capacity, retrying dispatch
2021/04/30 10:15:19 module_loader.go:159: finished "OpTypeGetTerraformVersion" for c:\Users\aylto***REDACTED***\terraform\state
2021/04/30 10:15:19 module_loader.go:148: executing "OpTypeObtainSchema" for c:\Users\aylto***REDACTED***\terraform\modules\network
2021/04/30 10:15:19 module_loader.go:159: finished "OpTypeGetTerraformVersion" for c:\Users\aylto***REDACTED***\terraform\modules\ec2
2021/04/30 10:15:20 provider_schema.go:98: PSS: adding local schema (c:\Users\aylto***REDACTED***\terraform\state, registry.terraform.io/hashicorp/aws): 0x1621d800
2021/04/30 10:15:21 provider_schema.go:98: PSS: adding local schema (c:\Users\aylto***REDACTED***\terraform\modules\network, registry.terraform.io/hashicorp/aws): 0x177440e0
2021/04/30 10:15:21 module_loader.go:165: finished "OpTypeObtainSchema" for c:\Users\aylto***REDACTED***\terraform\state
2021/04/30 10:15:21 module_loader.go:165: finished "OpTypeObtainSchema" for c:\Users\aylto***REDACTED***\terraform\modules\network
OK, I finally managed to reproduce it! 🎉 Thank you all for your help and sharing!
The (false) assumption LS makes is that anybody on 0.13+ uses the explicit provider declarations, such as
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.0"
}
}
}
While this is generally encouraged, it's not strictly required (yet).
You may be able to just revert back to the stable 0.16.0 version if you specify the provider source explicitly in your configuration.
I will however obviously fix the bug so that a crash doesn't occur in such cases.
@kasvtv I can see this is being triggered by aws provider with a legacy address (something that Terraform <= 0.12 would produce) and one that isn't pinned to particular version - these are some useful data points.
I just made another small change based on this data and prepared a new snapshot build:
terraform-ls_v0.16.0-SNAPSHOT-04638ce_darwin_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_darwin_arm64.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_freebsd_386.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_freebsd_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_freebsd_arm.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_linux_386.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_linux_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_linux_arm.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_linux_arm64.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_openbsd_386.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_openbsd_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_solaris_amd64.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_windows_386.zip terraform-ls_v0.16.0-SNAPSHOT-04638ce_windows_amd64.zip
terraform-ls_v0.16.0-SNAPSHOT-04638ce_SHA256SUMS Can you give that one a try?
That does work and I'm getting proper linting and code completion now, thanks!
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.
After upgrading to Terraform Extension v.2.10.1 to the new language server that comes with the extension: v.0.16.0 keeps crashing, and auto-completion stopped working,
Workaround while the new language server is fixed: Revert back to v.0.15.0. Download version v.0.15.0 https://github.com/hashicorp/terraform-ls/releases/tag/v0.15.0 and configured terraform.languageServer in the settings.json file to use those binaries.