Skip to content

Instantly share code, notes, and snippets.

@amasover
Created March 23, 2020 23:29
Show Gist options
  • Select an option

  • Save amasover/57e0526790184f4ed4270d316dfedc99 to your computer and use it in GitHub Desktop.

Select an option

Save amasover/57e0526790184f4ed4270d316dfedc99 to your computer and use it in GitHub Desktop.
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.terraform-provider-aws_v2.54.0_x4: plugin address: address=/tmp/plugin128191629 network=unix timestamp=2020-03-23T17:19:08.106-0600
2020-03-23T17:19:08.106-0600 [DEBUG] plugin: using plugin: version=5
2020-03-23T17:19:08.231-0600 [DEBUG] plugin: plugin process exited: 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.231-0600 [DEBUG] plugin: plugin exited
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x562f510fecbc]
goroutine 61 [running]:
github.com/hashicorp/terraform/configs.(*Module).appendFile(0xc000550a80, 0x0, 0xc000314410, 0xc00011c380, 0x7faf3b071108)
/home/aaron/code/go/pkg/mod/github.com/hashicorp/[email protected]/configs/module.go:128 +0x3c
github.com/hashicorp/terraform/configs.NewModule(0xc0006a9c00, 0x4, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1b)
/home/aaron/code/go/pkg/mod/github.com/hashicorp/[email protected]/configs/module.go:97 +0x224
github.com/juliosueiras/terraform-lsp/langserver.TextDocumentComplete(0x562f51e37da0, 0xc000434db0, 0xc00051d800, 0x3b, 0x20, 0x1c, 0x2, 0x562f526098ee, 0x1, 0x0, ...)
/home/aaron/code/go/src/github.com/juliosueiras/terraform-lsp/langserver/complete.go:56 +0x482
reflect.Value.call(0x562f51c5c060, 0x562f51defad8, 0x13, 0x562f51849b43, 0x4, 0xc000435050, 0x2, 0x2, 0x18, 0xc0006a99c0, ...)
/usr/lib/go/src/reflect/value.go:460 +0x8ad
reflect.Value.Call(0x562f51c5c060, 0x562f51defad8, 0x13, 0xc000435050, 0x2, 0x2, 0x2, 0xc000435050, 0x1)
/usr/lib/go/src/reflect/value.go:321 +0xb6
github.com/creachadair/jrpc2/handler.newHandler.func7(0x562f51e37da0, 0xc000434db0, 0xc0004dc9c0, 0x562f51d505a0, 0xc000434db0, 0x562f51c73360, 0x562f526ad1d0)
/home/aaron/code/go/pkg/mod/github.com/creachadair/[email protected]/handler/handler.go:222 +0x20c
github.com/creachadair/jrpc2/handler.Func.Handle(0xc0002b9c20, 0x562f51e37da0, 0xc000434db0, 0xc0004dc9c0, 0x0, 0x0, 0x562f51e37da0, 0xc000434db0)
/home/aaron/code/go/pkg/mod/github.com/creachadair/[email protected]/handler/handler.go:23 +0x46
github.com/creachadair/jrpc2.(*Server).invoke(0xc000144300, 0x562f51e37ce0, 0xc0004dca00, 0x562f51e1cc60, 0xc0002b9c20, 0xc0004dc9c0, 0x0, 0x0, 0x0, 0x0, ...)
/home/aaron/code/go/pkg/mod/github.com/creachadair/[email protected]/server.go:288 +0x16a
github.com/creachadair/jrpc2.(*Server).dispatch.func1(0xc000275530, 0xc000144300, 0xc000544d20)
/home/aaron/code/go/pkg/mod/github.com/creachadair/[email protected]/server.go:185 +0x93
created by github.com/creachadair/jrpc2.(*Server).dispatch
/home/aaron/code/go/pkg/mod/github.com/creachadair/[email protected]/server.go:183 +0x139
Process terraform-ls stderr finished
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment