Skip to content

Instantly share code, notes, and snippets.

View terraform-ls-vscode.txt
Launching language server: /home/aaron/.vscode/extensions/hashicorp.terraform-2.0.1/lsp/terraform-ls serve
2020/06/15 15:57:38 service.go:63: Preparing new session ...
2020/06/15 15:57:38 langserver.go:79: Starting server (pid 3196155) ...
2020/06/15 15:57:38 server.go:469: Received 1 new requests
2020/06/15 15:57:38 server.go:165: Processing 1 requests
2020/06/15 15:57:38 server.go:223: Checking request for "initialize": {"processId":3195907,"rootPath":"/home/aaron/code/intro-to-terraform/database","rootUri":"file:///home/aaron/code/intro-to-terraform/database","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]}},"executeCommand":{"dynamicRegistra
View terraform-ls-stderr.txt
2020/06/12 14:27:30 service.go:63: Preparing new session ...
2020/06/12 14:27:30 langserver.go:79: Starting server (pid 3889366) ...
2020/06/12 14:27:30 server.go:469: Received 1 new requests
2020/06/12 14:27:30 server.go:165: Processing 1 requests
2020/06/12 14:27:30 server.go:223: Checking request for "initialize": {"processId":null,"rootPath":"/home/aaron/code/intro-to-terraform/database","clientInfo":{"name":"emacs","version":"GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.14, cairo version 1.17.3)\n of 2020-03-24"},"rootUri":"file:///home/aaron/code/intro-to-terraform/database","capabilities":{"workspace":{"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"]},"applyEdit":true,"symbol":{"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]}},"executeCommand":{"dynamicRegistration":false},"didChangeWatchedFiles":{"dynamicRegistration":true},"workspaceFolders":true,"configuration":true},"textDocument":{"declar
View terraform-ls-stderr.txt
2020/06/12 13:37:44 server.go:223: Checking request for "textDocument/didChange": {"textDocument":{"uri":"file:///home/aaron/code/terraform-modules/atlantis/main.tf","version":624},"contentChanges":[{"range":{"start":{"line":117,"character":2},"end":{"line":117,"character":2}},"rangeLength":0,"text":"cont"}]}
2020/06/12 13:37:44 server.go:469: Received 1 new requests
2020/06/12 13:37:44 server.go:165: Processing 1 requests
2020/06/12 13:37:44 server.go:223: Checking request for "textDocument/didChange": {"textDocument":{"uri":"file:///home/aaron/code/terraform-modules/atlantis/main.tf","version":625},"contentChanges":[{"range":{"start":{"line":117,"character":2},"end":{"line":117,"character":6}},"rangeLength":4,"text":""}]}
2020/06/12 13:37:44 server.go:469: Received 1 new requests
2020/06/12 13:37:44 server.go:165: Processing 1 requests
2020/06/12 13:37:44 server.go:223: Checking request for "textDocument/didChange": {"textDocument":{"uri":"file:///home/aaron/code/terraform-modules/atlantis/main.tf","version
View terraform-ls-log-env-var-completion.txt
2020/05/14 11:04:35 service.go:59: Preparing new session ...
2020/05/14 11:04:35 langserver.go:65: Starting server (pid 59019) ...
2020/05/14 11:04:35 server.go:469: Received 1 new requests
2020/05/14 11:04:35 server.go:165: Processing 1 requests
2020/05/14 11:04:35 server.go:223: Checking request for "initialize": {"processId":null,"rootPath":"/home/aaron/code/terraform-test","clientInfo":{"name":"emacs","version":"GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.14, cairo version 1.17.3)\n of 2020-03-24"},"rootUri":"file:///home/aaron/code/terraform-test","capabilities":{"workspace":{"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"]},"applyEdit":true,"symbol":{"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]}},"executeCommand":{"dynamicRegistration":false},"didChangeWatchedFiles":{"dynamicRegistration":true},"workspaceFolders":true,"configuration":true},"textDocument":{"declaration":{"linkSupport":true},
View terraform-ls-stderr.txt
2020/05/13 17:24:13 service.go:59: Preparing new session ...
2020/05/13 17:24:13 langserver.go:65: Starting server (pid 2866995) ...
2020/05/13 17:24:13 server.go:469: Received 1 new requests
2020/05/13 17:24:13 server.go:165: Processing 1 requests
2020/05/13 17:24:13 server.go:223: Checking request for "initialize": {"processId":null,"rootPath":"/home/aaron/code/intro-to-terraform/database","clientInfo":{"name":"emacs","version":"GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.14, cairo version 1.17.3)\n of 2020-03-24"},"rootUri":"file:///home/aaron/code/intro-to-terraform/database","capabilities":{"workspace":{"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"]},"applyEdit":true,"symbol":{"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]}},"executeCommand":{"dynamicRegistration":false},"didChangeWatchedFiles":{"dynamicRegistration":true},"workspaceFolders":true,"configuration":true},"textDocument":{"declar
View tfls-error4.txt
time="2020-03-23T17:19:06-06:00" level=info msg="Log Level is Debug: true"
2020-03-23T17:19:08.006-0600 [INFO] plugin: configuring client automatic mTLS
2020-03-23T17:19:08.048-0600 [DEBUG] plugin: starting plugin: path=/home/aaron/code/intro-to-terraform/database/.terraform/plugins/linux_amd64/terraform-provider-aws_v2.54.0_x4 args=[/home/aaron/code/intro-to-terraform/database/.terraform/plugins/linux_amd64/terraform-provider-aws_v2.54.0_x4]
2020-03-23T17:19:08.048-0600 [DEBUG] plugin: plugin started: path=/home/aaron/code/intro-to-terraform/database/.terraform/plugins/linux_amd64/terraform-provider-aws_v2.54.0_x4 pid=3079907
2020-03-23T17:19:08.048-0600 [DEBUG] plugin: waiting for RPC address: path=/home/aaron/code/intro-to-terraform/database/.terraform/plugins/linux_amd64/terraform-provider-aws_v2.54.0_x4
2020-03-23T17:19:08.069-0600 [INFO] plugin.terraform-provider-aws_v2.54.0_x4: configuring server automatic mTLS: timestamp=2020-03-23T17:19:08.069-0600
2020-03-23T17:19:08.106-0600 [DEBUG] plugin.terraf
View tfls-error3.txt
2020/03/23 16:37:17 [DEBUG] plugin dirs: []string{".", "/home/aaron/.bin", "terraform.d/plugins/linux_amd64", "/home/aaron/code/intro-to-terraform/database/.terraform/plugins/linux_amd64", "/home/aaron/.terraform.d/plugins", "/home/aaron/.terraform.d/plugins/linux_amd64", "/home/aaron/code/go/bin"}
2020/03/23 16:37:17 [DEBUG] checking for provider in "."
2020/03/23 16:37:17 [DEBUG] checking for provider in "/home/aaron/.bin"
2020/03/23 16:37:17 [DEBUG] checking for provider in "/home/aaron/code/intro-to-terraform/database/.terraform/plugins/linux_amd64"
2020/03/23 16:37:17 [DEBUG] found provider "terraform-provider-aws_v2.54.0_x4"
2020/03/23 16:37:17 [DEBUG] checking for provider in "/home/aaron/code/go/bin"
2020-03-23T16:37:17.184-0600 [INFO] plugin: configuring client automatic mTLS
2020-03-23T16:37:17.222-0600 [DEBUG] plugin: starting plugin: path=/home/aaron/code/intro-to-terraform/database/.terraform/plugins/linux_amd64/terraform-provider-aws_v2.54.0_x4 args=[/home/aaron/code/intro-to-terraform/database
View use-Go-1.14.patch
From 0a30579b426348448ed464882a60da19bf58556f Mon Sep 17 00:00:00 2001
From: Aaron Masover <amasover@gmail.com>
Date: Mon, 23 Mar 2020 14:41:12 -0600
Subject: [PATCH] Cherry pick 43c1ec6 use go 1.14
---
.go-version | 2 +-
.travis.yml | 2 +-
go.mod | 3 +-
internal/getproviders/registry_source_test.go | 4 +-
View tfls-error2.txt
goroutine 39 [running]:
github.com/hashicorp/terraform/configs.(*Module).appendFile(0xc0003d9d00, 0x0, 0x28, 0xc000578000, 0x7f52317df008)
github.com/hashicorp/terraform@v0.12.20/configs/module.go:128 +0x3c
github.com/hashicorp/terraform/configs.NewModule(0xc0002f77a0, 0x3, 0x4, 0x0, 0x0, 0x0, 0x2, 0x4, 0x1, 0x1d)
github.com/hashicorp/terraform@v0.12.20/configs/module.go:97 +0x224
github.com/juliosueiras/terraform-lsp/langserver.TextDocumentComplete(0x55df8e8f3fa0, 0xc00038ef60, 0xc000592100, 0x3d, 0xae, 0x1e, 0x2, 0x55df8efb9bae, 0x1, 0x0, ...)
github.com/juliosueiras/terraform-lsp@/langserver/complete.go:54 +0x44d
reflect.Value.call(0x55df8e74d220, 0x55df8e8b69a8, 0x13, 0x55df8e112ae4, 0x4, 0xc00038f710, 0x2, 0x2, 0x18, 0xc00000e740, ...)
reflect/value.go:460 +0x5f8
reflect.Value.Call(0x55df8e74d220, 0x55df8e8b69a8, 0x13, 0xc00038f710, 0x2, 0x2, 0x2, 0xc00038f710, 0x1)
View tfls-error.txt
2020-03-20T17:39:45.948-0600 [INFO] plugin: configuring client automatic mTLS
2020-03-20T17:39:45.982-0600 [DEBUG] plugin: starting plugin: path=/home/aaron/.terraform.d/plugins/terraform-provider-azuread_v0.7.0_x4 args=[/home/aaron/.terraform.d/plugins/terraform-provider-azuread_v0.7.0_x4]
2020-03-20T17:39:45.983-0600 [DEBUG] plugin: plugin started: path=/home/aaron/.terraform.d/plugins/terraform-provider-azuread_v0.7.0_x4 pid=658971
2020-03-20T17:39:45.983-0600 [DEBUG] plugin: waiting for RPC address: path=/home/aaron/.terraform.d/plugins/terraform-provider-azuread_v0.7.0_x4
2020-03-20T17:39:45.992-0600 [INFO] plugin.terraform-provider-azuread_v0.7.0_x4: configuring server automatic mTLS: timestamp=2020-03-20T17:39:45.992-0600
2020-03-20T17:39:46.027-0600 [DEBUG] plugin.terraform-provider-azuread_v0.7.0_x4: plugin address: address=/tmp/plugin403810701 network=unix timestamp=2020-03-20T17:39:46.027-0600
2020-03-20T17:39:46.027-0600 [DEBUG] plugin: using plugin: version=5
2020-03-20T17:39:46.095-0600 [DEBUG