Closed jonchines closed 11 months ago
I have just commented out the terraformls lines from my lspconfig plugin and the errors editing tfvars files have gone away. I tried removing any other plugins associated with syntax highlighting - even color in general - to no avail. The only solution seems to be removing the terraformls config stanza - which is obviously not desirable.
My "setup" for terraformls is not very complicated. From lspconfig.lua file:
-- configure terraformls server
lspconfig["terraformls"].setup({
capabilities = capabilities,
on_attach = on_attach,
})
Is there something more that I should be doing? Can I just remove tfvars files from being parsed with the tfls?
As a working work-around, I have modified my lspconfig to NOT attach the terraform-ls to tfvars files. I don't love this option but at least I'm not getting errors, atm.
-- configure terraformls server
lspconfig["terraformls"].setup({
capabilities = capabilities,
on_attach = on_attach,
filetypes = { "terraform" }
})
Hi @jonchines,
I can't to reproduce the error, sorry.
The error E5248: Invalid character in group name
error sounds like a Neovim error and not like something the language server would throw. But it could be the result of an LSP message that we're sending.
Can you please share the full log when you edit a tfvars file and the error occurs? I think you can obtain the log with :LspLog
in Neovim.
Here is the log from a newly started session. I opened into a private git repo, opened NERDtree, moved to the tfvars file, opened it, jumped to the bottom, and switched into Insert mode on a new line. You will note, and I did not know until today, that there are tons of error messages and my LspLog is millions of lines long...mostly related to terraformls.
[START][2023-10-13 14:13:06] LSP logging initiated
[ERROR][2023-10-13 14:13:06] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:06 serve_command.go:108: Starting terraform-ls 0.31.5\n2023/10/13 14:13:06 service.go:106: Preparing new session ...\n2023/10/13 14:13:06 langserver.go:102: Starting server (pid 2906680; concurrency: 4) ...\n2023/10/13 14:13:06 opts.go:215: Received request batch of size 1 (qlen=0)\n2023/10/13 14:13:06 opts.go:215: Dequeued request batch of length 1 (qlen=0)\n2023/10/13 14:13:06 rpc_logger.go:32: Incoming request for "initialize" (ID 1): {"trace":"off","capabilities":{"workspace":{"semanticTokens":{"refreshSupport":true},"symbol":{"dynamicRegistration":false,"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]},"hierarchicalWorkspaceSymbolSupport":true},"configuration":true,"workspaceEdit":{"resourceOperations":["rename","create","delete"]},"workspaceFolders":true,"didChangeWatchedFiles":{"relativePatternSupport":true,"dynamicRegistration":false},"applyEdit":true},"textDocument":{"semanticTokens":{"formats":["relative"],"overlappingTokenSupport":true,"multilineTokenSupport":false,"serverCancelSupport":false,"augmentsSyntaxTokens":true,"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator","decorator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"dynamicRegistration":false,"requests":{"full":{"delta":true},"range":false}},"definition":{"linkSupport":true},"documentSymbol":{"dynamicRegistration":false,"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},"callHierarchy":{"dynamicRegistration":false},"signatureHelp":{"signatureInformation":{"activeParameterSupport":true,"parameterInformation":{"labelOffsetSupport":true},"documentationFormat":["markdown","plaintext"]},"dynamicRegistration":false},"publishDiagnostics":{"relatedInformation":true,"tagSupport":{"valueSet":[1,2]}},"synchronization":{"didSave":true,"willSave":true,"dynamicRegistration":false,"willSaveWaitUntil":true},"typeDefinition":{"linkSupport":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"isPreferredSupport":true,"dataSupport":true,"resolveSupport":{"properties":["edit"]},"dynamicRegistration":false},"hover":{"contentFormat":["markdown","plaintext"],"dynamicRegistration":false},"completion":{"dynamicRegistration":false,"insertTextMode":1,"completionList":{"itemDefaults":["commitCharacters","editRange","insertTextFormat","insertTextMode","data"]},"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]},"contextSupport":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"preselectSupport":true,"deprecatedSupport":true,"documentationFormat":["markdown","plaintext"],"tagSupport":{"valueSet":[1]},"labelDetailsSupport":true,"insertTextModeSupport":{"valueSet":[1,2]},"resolveSupport":{"properties":["documentation","detail","additionalTextEdits","sortText","filterText","insertText","textEdit","insertTextFormat","insertTextMode"]},"insertReplaceSupport":true}},"implementation":{"linkSupport":true},"declaration":{"linkSupport":true},"documentHighlight":{"dynamicRegistration":false},"rename":{"prepareSupport":true,"dynamicRegistration":false},"references":{"dynamicRegistration":false}},"window":{"workDoneProgress":true,"showMessage":{"messageActionItem":{"additionalPropertiesSupport":false}},"showDocument":{"support":true}}},"rootPath":"\\/home\\/jhines\\/0_dsis\\/dsis\\/ge-renewables\\/dsls\\/phase0","rootUri":"file:\\/\\/\\/home\\/jhines\\/0_dsis\\/dsis\\/ge-renewables\\/dsls\\/phase0","workspaceFolders":[{"name":"\\/home\\/jhines\\/0_dsis\\/dsis\\/ge-renewables\\/dsls\\/phase0","uri":"file:\\/\\/\\/home\\/jhines\\/0_dsis\\/dsis\\/ge-renewables\\/dsls\\/phase0"}],"initializationOptions":{},"processId":2906452,"clientInfo":{"name":"Neovim","version":"0.9.4"}}\n2023/10/13 14:13:06 scheduler.go:56: launching eval loop 0\n2023/10/13 14:13:06 service.go:475: started low priority scheduler\n2023/10/13 14:13:06 scheduler.go:56: launching eval loop 0\n2023/10/13 14:13:06 service.go:480: started high priority scheduler\n2023/10/13 14:13:06 walker_paths.go:255: walking next dir: {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n2023/10/13 14:13:06 walker.go:212: skipping ignored dir name: .git\n2023/10/13 14:13:06 rpc_logger.go:53: Response to "initialize" (ID 1): {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":[".","["],"resolveProvider":true},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"declarationProvider":true,"definitionProvider":true,"referencesProvider":true,"documentSymbolProvider":true,"codeActionProvider":{"codeActionKinds":["source.formatAll.terraform"]},"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"executeCommandProvider":{"commands":["terraform-ls.module.callers","terraform-ls.module.calls","terraform-ls.module.providers","terraform-ls.module.terraform","terraform-ls.rootmodules","terraform-ls.terraform.init","terraform-ls.terraform.validate"],"workDoneProgress":true},"semanticTokensProvider":{"legend":{"tokenTypes":["enumMember","function","keyword","number","parameter","property","string","type","variable"],"tokenModifiers":["defaultLibrary"]},"full":true},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"},"fileOperations":{}},"experimental":{"referenceCountCodeLens":false,"refreshModuleProviders":false,"refreshModuleCalls":false,"refreshTerraformVersion":false}},"serverInfo":{"name":"terraform-ls","version":"0.31.5"}}\n2023/10/13 14:13:06 opts.go:215: Completed 1 requests [3.570724ms elapsed]\n2023/10/13 14:13:06 walker.go:242: walking of {file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/.terraform/modules} finished\n2023/10/13 14:13:06 walker.go:242: walking of {file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/.terraform/providers/registry.terraform.io/hashicorp/aws/3.76.1/linux_amd64} finished\n2023/10/13 14:13:06 walker.go:242: walking of {file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/.terraform/providers/registry.terraform.io/hashicorp/aws/3.76.1} finished\n2023/10/13 14:13:06 walker.go:242: walking of {file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/.terraform/providers/registry.terraform.io/hashicorp/aws} finished\n2023/10/13 14:13:06 walker.go:242: walking of {file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/.terraform/providers/registry.terraform.io/hashicorp} finished\n2023/10/13 14:13:06 walker.go:242: walking of {file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/.terraform/providers/registry.terraform.io} finished\n2023/10/13 14:13:06 walker.go:242: walking of {file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/.terraform/providers} finished\n2023/10/13 14:13:06 walker.go:242: walking of {file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/.terraform} finished\n2023/10/13 14:13:06 walker.go:218: found module {file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0}\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "1": "OpTypeParseModuleConfiguration" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "2": "OpTypeLoadModuleMetadata" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "3": "OpTypeParseVariables" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "4": "OpTypeDecodeVarsReferences" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:294: retrying on obj is nil\n2023/10/13 14:13:06 jobs.go:294: retrying on obj is nil\n2023/10/13 14:13:06 jobs.go:316: JOBS: Dispatching next job "1" (scheduler prio: -1, job prio: 0, isDirOpen: false): "OpTypeParseModuleConfiguration" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n2023/10/13 14:13:06 jobs.go:294: retrying on obj is nil\n'
[ERROR][2023-10-13 14:13:06] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:06 walker.go:91: parsed datadir: &datadir.DataDir{ModuleManifestPath:"/home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/.terraform/modules/modules.json", PluginLockFilePath:"/home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/.terraform.lock.hcl"}\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "5": "OpTypeParseModuleManifest" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:294: retrying on obj is nil\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "6": "OpTypeParseProviderVersions" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:294: retrying on obj is nil\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "7": "OpTypeObtainSchema" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "8": "OpTypePreloadEmbeddedSchema" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:294: retrying on obj is nil\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "9": "OpTypeDecodeReferenceTargets" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "10": "OpTypeDecodeReferenceOrigins" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:294: retrying on obj is nil\n2023/10/13 14:13:06 walker.go:218: found module {file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule}\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "11": "OpTypeParseModuleConfiguration" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "12": "OpTypeLoadModuleMetadata" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:294: retrying on obj is nil\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "13": "OpTypeParseVariables" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "14": "OpTypeDecodeVarsReferences" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:294: retrying on obj is nil\n2023/10/13 14:13:06 walker.go:91: parsed datadir: &datadir.DataDir{ModuleManifestPath:"", PluginLockFilePath:""}\n'
[ERROR][2023-10-13 14:13:06] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "15": "OpTypePreloadEmbeddedSchema" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "16": "OpTypeDecodeReferenceTargets" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:294: retrying on obj is nil\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "17": "OpTypeDecodeReferenceOrigins" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 walker.go:242: walking of {file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule} finished\n2023/10/13 14:13:06 walker.go:218: found module {file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb}\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "18": "OpTypeParseModuleConfiguration" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:294: retrying on obj is nil\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "19": "OpTypeLoadModuleMetadata" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "20": "OpTypeParseVariables" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:294: retrying on obj is nil\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "21": "OpTypeDecodeVarsReferences" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 walker.go:91: parsed datadir: &datadir.DataDir{ModuleManifestPath:"", PluginLockFilePath:""}\n2023/10/13 14:13:06 jobs.go:294: retrying on obj is nil\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "22": "OpTypePreloadEmbeddedSchema" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "23": "OpTypeDecodeReferenceTargets" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "24": "OpTypeDecodeReferenceOrigins" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"} (IsDirOpen: false, IgnoreState: false)\n2023/10/13 14:13:06 walker.go:242: walking of {file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb} finished\n2023/10/13 14:13:06 jobs.go:294: retrying on obj is nil\n2023/10/13 14:13:06 walker.go:242: walking of {file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules} finished\n2023/10/13 14:13:06 walker.go:242: walking of {file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/scripts} finished\n2023/10/13 14:13:06 walker.go:242: walking of {file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0} finished\n2023/10/13 14:13:06 walker.go:156: walker: walking through {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} finished\n'
[ERROR][2023-10-13 14:13:06] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:06 jobs.go:455: JOBS: Finishing job "1": "OpTypeParseModuleConfiguration" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (err = %!s(<nil>), deferredJobs: [])\n2023/10/13 14:13:06 jobs.go:316: JOBS: Dispatching next job "11" (scheduler prio: -1, job prio: 0, isDirOpen: false): "OpTypeParseModuleConfiguration" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"}\n2023/10/13 14:13:06 jobs.go:294: retrying on obj is nil\n'
[ERROR][2023-10-13 14:13:06] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:06 jobs.go:455: JOBS: Finishing job "11": "OpTypeParseModuleConfiguration" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:06] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" "2023/10/13 14:13:06 opts.go:215: Received request batch of size 1 (qlen=0)\n2023/10/13 14:13:06 opts.go:215: Dequeued request batch of length 1 (qlen=0)\n2023/10/13 14:13:06 rpc_logger.go:32: Incoming notification for \"initialized\": {}\n2023/10/13 14:13:06 opts.go:215: Received request batch of size 1 (qlen=0)\n2023/10/13 14:13:06 initialized.go:27: Client doesn't support dynamic watched files registration, provider and module changes may not be reflected at runtime\n2023/10/13 14:13:06 opts.go:215: Dequeued request batch of length 1 (qlen=0)\n2023/10/13 14:13:06 opts.go:215: Received request batch of size 1 (qlen=0)\n2023/10/13 14:13:06 opts.go:215: Dequeued request batch of length 1 (qlen=0)\n2023/10/13 14:13:06 rpc_logger.go:32: Incoming notification for \"textDocument/didOpen\": {\"textDocument\":{\"version\":0,\"uri\":\"file:\\/\\/\\/home\\/jhines\\/0_dsis\\/dsis\\/ge-renewables\\/dsls\\/phase0\\/terraform.tfvars\",\"text\":\"company = \\\"GE\\\"\\nprogram = \\\"Renewables\\\"\\nprefix = \\\"GE\\\"\\nlevel = \\\"NA\\\"\\nenvironment = \\\"DSLS\\\"\\n\\n\\nregion_pri = \\\"eu-west-1\\\"\\nvpc_name = \\\"VPC-GE\\\"\\napp1_subnet_name = \\\"GE-private-eu-west-1a\\\"\\nlb1_subnet_name = \\\"GE-public-eu-west-1a\\\"\\nlb2_subnet_name = \\\"GE-public-eu-west-1b\\\"\\n\\n\\ndslsCount = \\\"9\\\"\\nami_RHEL = \\\"ami-0fa2f7b35eeb82b7a\\\"\\nami_Windows = \\\"ami-00c896faf296575ab\\\"\\nkey_ssh = \\\"dsis-nam-ge-key\\\"\\ninstanceProfile = \\\"aws-ec2-role\\\"\\nssmInstanceProfile = \\\"SessionManagerInstanceProfile\\\"\\n\\n\",\"languageId\":\"terraform-vars\"}}\n2023/10/13 14:13:06 jobs.go:294: retrying on obj is nil\n2023/10/13 14:13:06 jobs.go:316: JOBS: Dispatching next job \"12\" (scheduler prio: -1, job prio: 0, isDirOpen: false): \"OpTypeLoadModuleMetadata\" for {\"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule\"}\n2023/10/13 14:13:06 did_open.go:56: opened module: /home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job \"25\": \"OpTypeGetTerraformVersion\" for {\"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0\"} (IsDirOpen: true, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job \"26\": \"OpTypeParseModuleConfiguration\" for {\"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0\"} (IsDirOpen: true, IgnoreState: true)\n2023/10/13 14:13:06 jobs.go:294: retrying on obj is nil\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job \"27\": \"OpTypeLoadModuleMetadata\" for {\"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0\"} (IsDirOpen: true, IgnoreState: true)\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job \"28\": \"OpTypePreloadEmbeddedSchema\" for {\"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0\"} (IsDirOpen: true, IgnoreState: true)\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job \"29\": \"OpTypeDecodeReferenceTargets\" for {\"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0\"} (IsDirOpen: true, IgnoreState: true)\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job \"30\": \"OpTypeDecodeReferenceOrigins\" for {\"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0\"} (IsDirOpen: true, IgnoreState: true)\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job \"31\": \"OpTypeGetModuleDataFromRegistry\" for {\"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0\"} (IsDirOpen: true, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job \"32\": \"OpTypeParseVariables\" for {\"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0\"} (IsDirOpen: true, IgnoreState: true)\n"
[ERROR][2023-10-13 14:13:06] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:06 jobs.go:135: JOBS: Enqueueing new job "33": "OpTypeDecodeVarsReferences" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (IsDirOpen: true, IgnoreState: false)\n2023/10/13 14:13:06 jobs.go:316: JOBS: Dispatching next job "2" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeLoadModuleMetadata" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n'
[ERROR][2023-10-13 14:13:06] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:06 jobs.go:455: JOBS: Finishing job "12": "OpTypeLoadModuleMetadata" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"} (err = %!s(<nil>), deferredJobs: [])\n2023/10/13 14:13:06 jobs.go:316: JOBS: Dispatching next job "13" (scheduler prio: -1, job prio: 0, isDirOpen: false): "OpTypeParseVariables" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"}\n2023/10/13 14:13:06 jobs.go:455: JOBS: Finishing job "2": "OpTypeLoadModuleMetadata" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (err = %!s(<nil>), deferredJobs: [])\n2023/10/13 14:13:06 jobs.go:316: JOBS: Dispatching next job "25" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeGetTerraformVersion" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n2023/10/13 14:13:06 jobs.go:455: JOBS: Finishing job "13": "OpTypeParseVariables" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:06] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:06 jobs.go:316: JOBS: Dispatching next job "14" (scheduler prio: -1, job prio: 0, isDirOpen: false): "OpTypeDecodeVarsReferences" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"}\n2023/10/13 14:13:06 jobs.go:455: JOBS: Finishing job "14": "OpTypeDecodeVarsReferences" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:06] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:06 jobs.go:316: JOBS: Dispatching next job "15" (scheduler prio: -1, job prio: 0, isDirOpen: false): "OpTypePreloadEmbeddedSchema" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"}\n'
[ERROR][2023-10-13 14:13:06] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" "2023/10/13 14:13:06 opts.go:215: Received request batch of size 1 (qlen=0)\n"
[ERROR][2023-10-13 14:13:06] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:06 jobs.go:455: JOBS: Finishing job "25": "OpTypeGetTerraformVersion" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:06] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:06 jobs.go:316: JOBS: Dispatching next job "26" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeParseModuleConfiguration" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n'
[ERROR][2023-10-13 14:13:06] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:06 jobs.go:455: JOBS: Finishing job "26": "OpTypeParseModuleConfiguration" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:06] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:06 jobs.go:316: JOBS: Dispatching next job "27" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeLoadModuleMetadata" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n'
[ERROR][2023-10-13 14:13:06] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:06 jobs.go:455: JOBS: Finishing job "27": "OpTypeLoadModuleMetadata" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:06] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:06 jobs.go:316: JOBS: Dispatching next job "28" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypePreloadEmbeddedSchema" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n'
[ERROR][2023-10-13 14:13:07] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" "2023/10/13 14:13:07 opts.go:215: Received request batch of size 1 (qlen=1)\n"
[ERROR][2023-10-13 14:13:07] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:07 opts.go:215: Posting server call "workspace/semanticTokens/refresh" \n'
[ERROR][2023-10-13 14:13:07] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" "2023/10/13 14:13:07 opts.go:215: Received request batch of size 1 (qlen=2)\n"
[ERROR][2023-10-13 14:13:07] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:07 opts.go:215: Received request batch of size 1 (qlen=3)\n2023/10/13 14:13:07 opts.go:215: Received response for callback "1"\n'
[ERROR][2023-10-13 14:13:07] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:07 module_ops.go:348: preloaded schema for registry.terraform.io/hashicorp/aws 5.15.0 in 1.533654108s\n2023/10/13 14:13:07 module_ops.go:339: schema for registry.terraform.io/hashicorp/aws is already loaded\n2023/10/13 14:13:07 jobs.go:455: JOBS: Finishing job "15": "OpTypePreloadEmbeddedSchema" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:07] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:07 jobs.go:316: JOBS: Dispatching next job "16" (scheduler prio: -1, job prio: 0, isDirOpen: false): "OpTypeDecodeReferenceTargets" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"}\n'
[ERROR][2023-10-13 14:13:07] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" "2023/10/13 14:13:07 provider_schema.go:306: PSS: getting provider schema (/home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule, registry.terraform.io/-/aws, )\n"
[ERROR][2023-10-13 14:13:07] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:07 jobs.go:455: JOBS: Finishing job "16": "OpTypeDecodeReferenceTargets" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:07] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:07 jobs.go:316: JOBS: Dispatching next job "17" (scheduler prio: -1, job prio: 0, isDirOpen: false): "OpTypeDecodeReferenceOrigins" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"}\n'
[ERROR][2023-10-13 14:13:07] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" "2023/10/13 14:13:07 provider_schema.go:306: PSS: getting provider schema (/home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule, registry.terraform.io/-/aws, )\n"
[ERROR][2023-10-13 14:13:07] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:07 jobs.go:455: JOBS: Finishing job "17": "OpTypeDecodeReferenceOrigins" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/alb-rule"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:07] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:07 jobs.go:316: JOBS: Dispatching next job "18" (scheduler prio: -1, job prio: 0, isDirOpen: false): "OpTypeParseModuleConfiguration" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"}\n'
[ERROR][2023-10-13 14:13:07] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:455: JOBS: Finishing job "18": "OpTypeParseModuleConfiguration" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:07] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:316: JOBS: Dispatching next job "19" (scheduler prio: -1, job prio: 0, isDirOpen: false): "OpTypeLoadModuleMetadata" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"}\n'
[ERROR][2023-10-13 14:13:07] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:455: JOBS: Finishing job "19": "OpTypeLoadModuleMetadata" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:07] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:316: JOBS: Dispatching next job "20" (scheduler prio: -1, job prio: 0, isDirOpen: false): "OpTypeParseVariables" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"}\n'
[ERROR][2023-10-13 14:13:07] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:455: JOBS: Finishing job "20": "OpTypeParseVariables" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:316: JOBS: Dispatching next job "21" (scheduler prio: -1, job prio: 0, isDirOpen: false): "OpTypeDecodeVarsReferences" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"}\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:455: JOBS: Finishing job "21": "OpTypeDecodeVarsReferences" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:316: JOBS: Dispatching next job "22" (scheduler prio: -1, job prio: 0, isDirOpen: false): "OpTypePreloadEmbeddedSchema" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"}\n2023/10/13 14:13:08 jobs.go:455: JOBS: Finishing job "22": "OpTypePreloadEmbeddedSchema" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:316: JOBS: Dispatching next job "23" (scheduler prio: -1, job prio: 0, isDirOpen: false): "OpTypeDecodeReferenceTargets" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"}\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" "2023/10/13 14:13:08 provider_schema.go:306: PSS: getting provider schema (/home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb, registry.terraform.io/-/aws, )\n"
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:455: JOBS: Finishing job "23": "OpTypeDecodeReferenceTargets" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:316: JOBS: Dispatching next job "24" (scheduler prio: -1, job prio: 0, isDirOpen: false): "OpTypeDecodeReferenceOrigins" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"}\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" "2023/10/13 14:13:08 provider_schema.go:306: PSS: getting provider schema (/home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb, registry.terraform.io/-/aws, )\n"
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:455: JOBS: Finishing job "24": "OpTypeDecodeReferenceOrigins" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0/modules/nlb"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:316: JOBS: Dispatching next job "31" (scheduler prio: -1, job prio: -1, isDirOpen: true): "OpTypeGetModuleDataFromRegistry" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n2023/10/13 14:13:08 jobs.go:455: JOBS: Finishing job "31": "OpTypeGetModuleDataFromRegistry" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 module_ops.go:339: schema for registry.terraform.io/hashicorp/aws is already loaded\n2023/10/13 14:13:08 jobs.go:455: JOBS: Finishing job "28": "OpTypePreloadEmbeddedSchema" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:316: JOBS: Dispatching next job "29" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeDecodeReferenceTargets" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" "2023/10/13 14:13:08 jobs.go:294: retrying on obj is nil\n"
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" "2023/10/13 14:13:08 provider_schema.go:306: PSS: getting provider schema (/home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0, registry.terraform.io/hashicorp/aws, ~> 3.76.0)\n"
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:455: JOBS: Finishing job "29": "OpTypeDecodeReferenceTargets" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:316: JOBS: Dispatching next job "3" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeParseVariables" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" "2023/10/13 14:13:08 jobs.go:294: retrying on obj is nil\n"
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:455: JOBS: Finishing job "3": "OpTypeParseVariables" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:316: JOBS: Dispatching next job "30" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeDecodeReferenceOrigins" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n2023/10/13 14:13:08 jobs.go:294: retrying on obj is nil\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" "2023/10/13 14:13:08 provider_schema.go:306: PSS: getting provider schema (/home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0, registry.terraform.io/hashicorp/aws, ~> 3.76.0)\n"
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:455: JOBS: Finishing job "30": "OpTypeDecodeReferenceOrigins" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:316: JOBS: Dispatching next job "32" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeParseVariables" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" "2023/10/13 14:13:08 jobs.go:294: retrying on obj is nil\n"
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:455: JOBS: Finishing job "32": "OpTypeParseVariables" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:316: JOBS: Dispatching next job "33" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeDecodeVarsReferences" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:455: JOBS: Finishing job "33": "OpTypeDecodeVarsReferences" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:316: JOBS: Dispatching next job "4" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeDecodeVarsReferences" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n2023/10/13 14:13:08 jobs.go:455: JOBS: Finishing job "4": "OpTypeDecodeVarsReferences" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (err = file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0: state not changed, deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:316: JOBS: Dispatching next job "5" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeParseModuleManifest" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" "2023/10/13 14:13:08 module_calls.go:28: indexing installed module calls: 2\n"
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:455: JOBS: Finishing job "5": "OpTypeParseModuleManifest" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:316: JOBS: Dispatching next job "6" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeParseProviderVersions" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 jobs.go:455: JOBS: Finishing job "6": "OpTypeParseProviderVersions" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" "2023/10/13 14:13:08 jobs.go:294: retrying on obj is nil\n"
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 opts.go:215: Dequeued request batch of length 1 (qlen=3)\n2023/10/13 14:13:08 opts.go:215: Dequeued request batch of length 1 (qlen=2)\n2023/10/13 14:13:08 opts.go:215: Dequeued request batch of length 1 (qlen=1)\n2023/10/13 14:13:08 opts.go:215: Dequeued request batch of length 1 (qlen=0)\n2023/10/13 14:13:08 rpc_logger.go:32: Incoming notification for "$/cancelRequest": {"id":3}\n2023/10/13 14:13:08 jobs.go:316: JOBS: Dispatching next job "7" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeObtainSchema" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n2023/10/13 14:13:08 rpc_logger.go:32: Incoming request for "textDocument/semanticTokens/full" (ID 3): {"textDocument":{"uri":"file:\\/\\/\\/home\\/jhines\\/0_dsis\\/dsis\\/ge-renewables\\/dsls\\/phase0\\/terraform.tfvars"}}\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 rpc_logger.go:32: Incoming request for "textDocument/codeAction" (ID 4): {"context":{"diagnostics":[]},"textDocument":{"uri":"file:\\/\\/\\/home\\/jhines\\/0_dsis\\/dsis\\/ge-renewables\\/dsls\\/phase0\\/terraform.tfvars"},"range":{"start":{"line":20,"character":0},"end":{"line":20,"character":0}}}\n2023/10/13 14:13:08 jobs.go:294: retrying on obj is nil\n2023/10/13 14:13:08 opts.go:215: Cancelled request 3 by client order\n2023/10/13 14:13:08 rpc_logger.go:32: Incoming request for "textDocument/documentSymbol" (ID 2): {"textDocument":{"uri":"file:\\/\\/\\/home\\/jhines\\/0_dsis\\/dsis\\/ge-renewables\\/dsls\\/phase0\\/terraform.tfvars"}}\n2023/10/13 14:13:08 rpc_logger.go:32: Incoming request for "textDocument/semanticTokens/full" (ID 5): {"textDocument":{"uri":"file:\\/\\/\\/home\\/jhines\\/0_dsis\\/dsis\\/ge-renewables\\/dsls\\/phase0\\/terraform.tfvars"}}\n'
[ERROR][2023-10-13 14:13:08] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:08 rpc_logger.go:48: Error for "textDocument/semanticTokens/full" (ID 3): [-32800] error code -32800: %!s(<nil>)\n2023/10/13 14:13:08 opts.go:215: Completed 1 requests [854.139µs elapsed]\n2023/10/13 14:13:08 code_action.go:32: No code action requested, exiting\n2023/10/13 14:13:08 rpc_logger.go:53: Response to "textDocument/semanticTokens/full" (ID 5): {"data":[0,0,7,5,0,0,10,4,6,0,1,0,7,5,0,0,10,12,6,0,1,0,6,5,0,0,9,4,6,0,1,0,5,5,0,0,8,4,6,0,1,0,11,5,0,0,14,6,6,0,3,0,10,5,0,0,13,11,6,0,1,0,8,5,0,0,11,8,6,0,1,0,16,5,0,0,19,23,6,0,1,0,15,5,0,0,18,22,6,0,1,0,15,5,0,0,18,22,6,0,3,0,9,5,0,0,12,3,6,0,1,0,8,5,0,0,11,23,6,0,1,0,11,5,0,0,14,23,6,0,1,0,7,5,0,0,10,17,6,0,1,0,15,5,0,0,18,14,6,0,1,0,18,5,0,0,21,31,6,0]}\n2023/10/13 14:13:08 opts.go:215: Completed 1 requests [901.898µs elapsed]\n2023/10/13 14:13:08 rpc_logger.go:53: Response to "textDocument/documentSymbol" (ID 2): [{"name":"company","kind":15,"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":14}},"selectionRange":{"start":{"line":0,"character":0},"end":{"line":0,"character":14}}},{"name":"program","kind":15,"range":{"start":{"line":1,"character":0},"end":{"line":1,"character":22}},"selectionRange":{"start":{"line":1,"character":0},"end":{"line":1,"character":22}}},{"name":"prefix","kind":15,"range":{"start":{"line":2,"character":0},"end":{"line":2,"character":13}},"selectionRange":{"start":{"line":2,"character":0},"end":{"line":2,"character":13}}},{"name":"level","kind":15,"range":{"start":{"line":3,"character":0},"end":{"line":3,"character":12}},"selectionRange":{"start":{"line":3,"character":0},"end":{"line":3,"character":12}}},{"name":"environment","kind":15,"range":{"start":{"line":4,"character":0},"end":{"line":4,"character":20}},"selectionRange":{"start":{"line":4,"character":0},"end":{"line":4,"character":20}}},{"name":"region_pri","kind":15,"range":{"start":{"line":7,"character":0},"end":{"line":7,"character":24}},"selectionRange":{"start":{"line":7,"character":0},"end":{"line":7,"character":24}}},{"name":"vpc_name","kind":15,"range":{"start":{"line":8,"character":0},"end":{"line":8,"character":19}},"selectionRange":{"start":{"line":8,"character":0},"end":{"line":8,"character":19}}},{"name":"app1_subnet_name","kind":15,"range":{"start":{"line":9,"character":0},"end":{"line":9,"character":42}},"selectionRange":{"start":{"line":9,"character":0},"end":{"line":9,"character":42}}},{"name":"lb1_subnet_name","kind":15,"range":{"start":{"line":10,"character":0},"end":{"line":10,"character":40}},"selectionRange":{"start":{"line":10,"character":0},"end":{"line":10,"character":40}}},{"name":"lb2_subnet_name","kind":15,"range":{"start":{"line":11,"character":0},"end":{"line":11,"character":40}},"selectionRange":{"start":{"line":11,"character":0},"end":{"line":11,"character":40}}},{"name":"dslsCount","kind":15,"range":{"start":{"line":14,"character":0},"end":{"line":14,"character":15}},"selectionRange":{"start":{"line":14,"character":0},"end":{"line":14,"character":15}}},{"name":"ami_RHEL","kind":15,"range":{"start":{"line":15,"character":0},"end":{"line":15,"character":34}},"selectionRange":{"start":{"line":15,"character":0},"end":{"line":15,"character":34}}},{"name":"ami_Windows","kind":15,"range":{"start":{"line":16,"character":0},"end":{"line":16,"character":37}},"selectionRange":{"start":{"line":16,"character":0},"end":{"line":16,"character":37}}},{"name":"key_ssh","kind":15,"range":{"start":{"line":17,"character":0},"end":{"line":17,"character":27}},"selectionRange":{"start":{"line":17,"character":0},"end":{"line":17,"character":27}}},{"name":"instanceProfile","kind":15,"range":{"start":{"line":18,"character":0},"end":{"line":18,"character":32}},"selectionRange":{"start":{"line":18,"character":0},"end":{"line":18,"character":32}}},{"name":"ssmInstanceProfile","kind":15,"range":{"start":{"line":19,"character":0},"end":{"line":19,"character":52}},"selectionRange":{"start":{"line":19,"character":0},"end":{"line":19,"character":52}}}]\n2023/10/13 14:13:08 rpc_logger.go:53: Response to "textDocument/codeAction" (ID 4): null\n2023/10/13 14:13:08 opts.go:215: Completed 1 requests [1.039353ms elapsed]\n2023/10/13 14:13:08 opts.go:215: Completed 1 requests [2.170133234s elapsed]\n'
[ERROR][2023-10-13 14:13:09] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:09 opts.go:215: Posting server call "workspace/semanticTokens/refresh" \n'
[ERROR][2023-10-13 14:13:10] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:10 opts.go:215: Received request batch of size 1 (qlen=0)\n2023/10/13 14:13:10 opts.go:215: Received response for callback "2"\n2023/10/13 14:13:10 opts.go:215: Dequeued request batch of length 1 (qlen=0)\n2023/10/13 14:13:10 rpc_logger.go:32: Incoming request for "textDocument/semanticTokens/full" (ID 6): {"textDocument":{"uri":"file:\\/\\/\\/home\\/jhines\\/0_dsis\\/dsis\\/ge-renewables\\/dsls\\/phase0\\/terraform.tfvars"}}\n2023/10/13 14:13:10 rpc_logger.go:53: Response to "textDocument/semanticTokens/full" (ID 6): {"data":[0,0,7,5,0,0,10,4,6,0,1,0,7,5,0,0,10,12,6,0,1,0,6,5,0,0,9,4,6,0,1,0,5,5,0,0,8,4,6,0,1,0,11,5,0,0,14,6,6,0,3,0,10,5,0,0,13,11,6,0,1,0,8,5,0,0,11,8,6,0,1,0,16,5,0,0,19,23,6,0,1,0,15,5,0,0,18,22,6,0,1,0,15,5,0,0,18,22,6,0,3,0,9,5,0,0,12,3,6,0,1,0,8,5,0,0,11,23,6,0,1,0,11,5,0,0,14,23,6,0,1,0,7,5,0,0,10,17,6,0,1,0,15,5,0,0,18,14,6,0,1,0,18,5,0,0,21,31,6,0]}\n2023/10/13 14:13:10 opts.go:215: Completed 1 requests [222.284µs elapsed]\n'
[ERROR][2023-10-13 14:13:12] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" "2023/10/13 14:13:12 provider_schema.go:109: PSS: adding local schema (/home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0, registry.terraform.io/hashicorp/aws): 0xc002500c60\n"
[ERROR][2023-10-13 14:13:12] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:12 jobs.go:455: JOBS: Finishing job "7": "OpTypeObtainSchema" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:12] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:12 jobs.go:316: JOBS: Dispatching next job "10" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeDecodeReferenceOrigins" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n2023/10/13 14:13:12 jobs.go:455: JOBS: Finishing job "10": "OpTypeDecodeReferenceOrigins" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (err = file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0: state not changed, deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:12] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:12 jobs.go:316: JOBS: Dispatching next job "8" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypePreloadEmbeddedSchema" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n2023/10/13 14:13:12 jobs.go:455: JOBS: Finishing job "8": "OpTypePreloadEmbeddedSchema" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (err = file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0: state not changed, deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:12] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" '2023/10/13 14:13:12 jobs.go:316: JOBS: Dispatching next job "9" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeDecodeReferenceTargets" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"}\n2023/10/13 14:13:12 jobs.go:455: JOBS: Finishing job "9": "OpTypeDecodeReferenceTargets" for {"file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0"} (err = file:///home/jhines/0_dsis/dsis/ge-renewables/dsls/phase0: state not changed, deferredJobs: [])\n'
[ERROR][2023-10-13 14:13:12] .../vim/lsp/rpc.lua:734 "rpc" "/home/jhines/.local/share/nvim/mason/bin/terraform-ls" "stderr" "2023/10/13 14:13:12 jobs.go:294: retrying on obj is nil\n"
The attached log does not contain any diagnostics being published (there would have to be textDocument/publishDiagnostics
request).
Based on some brief GitHub search (e.g. https://github.com/preservim/nerdtree/issues/1331 ) I'm going to guess that the error message you mention comes from a TreeSitter based highlighting grammar.
Could this possibly come from https://github.com/MichaHoffmann/tree-sitter-hcl for example?
Can you try disabling any other NeoVim plugins (other than the LSP one) that are associated with terraform files and confirm that it's still reproducible?
This seems to be confirmed a neovim issue, see https://github.com/neovim/neovim/issues/23184.
Thanks for the link @shuan9
As far as I can tell, this is triggered by the language ID we use to describe *.tfvars
files - terraform-vars
, specifically the hyphen there.
While the convention isn't formally documented on its own (the spec does not say how words should be separated), you can see many existing multi-word IDs do use hyphens as well:
git-commit
and git-rebase
objective-c
objective-cpp
Therefore if -
is a problem, it will be a problem in the context of many other servers, not just Terraform LS. Considering that and considering the cost of compatibility breaking, we do not currently intend to change the language ID to remove the hyphen or replace it with _
.
Also, this seems to have been fixed on NeoVim side, per https://github.com/neovim/neovim/pull/24714
With all that in mind I'm going to close this issue.
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 details necessary to investigate further.
Language Server Version
v0.31.5
Terraform Version
Terraform v1.5.7 on linux_amd64
Client Version
Neovim v0.9.4
Terraform Configuration
Steps to Reproduce
Expected Behavior
Edit happens without error
Actual Behavior
This text over and over - many times...
Gist
No response
Workarounds
No response
References
No response
Help Wanted
Community Note