Skip to content

Instantly share code, notes, and snippets.

@jamengual
Created April 5, 2019 19:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamengual/301e0a44a74d5961f8bb902a52549f72 to your computer and use it in GitHub Desktop.
Save jamengual/301e0a44a74d5961f8bb902a52549f72 to your computer and use it in GitHub Desktop.
2019/04/05 12:26:46 [INFO] Terraform version: 0.11.13
2019/04/05 12:26:46 [INFO] Go runtime version: go1.11.5
2019/04/05 12:26:46 [INFO] CLI args: []string{"/usr/local/bin/terraform", "console"}
2019/04/05 12:26:46 [DEBUG] Attempting to open CLI config file: /Users/jamengual/.terraformrc
2019/04/05 12:26:46 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/04/05 12:26:46 [INFO] CLI command args: []string{"console"}
2019/04/05 12:26:46 [DEBUG] command: loading backend config file: /Users/jamengual/github
2019/04/05 12:26:46 [INFO] command: backend config not found, returning nil: /Users/jamengual/github
2019/04/05 12:26:46 [INFO] command: no config, returning nil
2019/04/05 12:26:46 [DEBUG] command: no data state file found for backend config
2019/04/05 12:26:46 [DEBUG] New state was assigned lineage "f8ae61b7-6d0a-df94-033c-a77f0b5fa0c7"
2019/04/05 12:26:46 [INFO] command: backend initialized: <nil>
2019/04/05 12:26:46 [DEBUG] checking for provider in "."
2019/04/05 12:26:46 [DEBUG] checking for provider in "/usr/local/bin"
2019/04/05 12:26:46 [DEBUG] checking for provisioner in "."
2019/04/05 12:26:46 [DEBUG] checking for provisioner in "/usr/local/bin"
2019/04/05 12:26:46 [INFO] Failed to read plugin lock file .terraform/plugins/darwin_amd64/lock.json: open .terraform/plugins/darwin_amd64/lock.json: no such file or directory
2019/04/05 12:26:46 [INFO] command: backend <nil> is not enhanced, wrapping in local
2019/04/05 12:26:46 [DEBUG] New state was assigned lineage "c0f0f38d-0828-32f9-5117-68804a7b8586"
2019/04/05 12:26:55 [DEBUG] plugin: waiting for all plugin processes to complete...
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x17601e4]
goroutine 1 [running]:
github.com/hashicorp/terraform/config/module.(*Tree).Config(...)
/opt/gopath/src/github.com/hashicorp/terraform/config/module/tree.go:78
github.com/hashicorp/terraform/terraform.(*Interpolater).resourceVariableInfo(0xc00030ef00, 0xc0004d78c0, 0xc0000b61e0, 0xc0004d7410, 0x1008980, 0x39f2a20, 0x2a77e0)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/interpolate.go:771 +0x44
github.com/hashicorp/terraform/terraform.(*Interpolater).computeResourceVariable(0xc00030ef00, 0xc0004d78c0, 0xc0000b61e0, 0x0, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/interpolate.go:459 +0x147
github.com/hashicorp/terraform/terraform.(*Interpolater).valueResourceVar(0xc00030ef00, 0xc0004d78c0, 0xc000532332, 0x27, 0xc0000b61e0, 0xc000099110, 0xc000098d80, 0xc00038a0c0)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/interpolate.go:252 +0x65
github.com/hashicorp/terraform/terraform.(*Interpolater).Values(0xc00030ef00, 0xc0004d78c0, 0xc000098ff0, 0x0, 0xc0000b81a8, 0xc000532330)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/interpolate.go:86 +0x7d1
github.com/hashicorp/terraform/repl.(*Session).handleEval(0xc0004d7a78, 0xc0005322d0, 0x27, 0x27, 0x27, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/repl/session.go:55 +0x24c
github.com/hashicorp/terraform/repl.(*Session).Handle(0xc0004d7a78, 0xc0005322d0, 0x27, 0x0, 0x0, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/repl/session.go:35 +0xa1
github.com/hashicorp/terraform/command.(*ConsoleCommand).modeInteractive(0xc0004071e0, 0xc0004d7a78, 0x3f18a20, 0xc0003b3890, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/command/console_interactive.go:48 +0x1dc
github.com/hashicorp/terraform/command.(*ConsoleCommand).Run(0xc0004071e0, 0x0, 0x0, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/command/console.go:107 +0x5db
github.com/mitchellh/cli.(*CLI).Run(0xc0002b0500, 0xc0002b0500, 0xc0001dfd20, 0x1)
/opt/gopath/pkg/mod/github.com/mitchellh/cli@v0.0.0-20171129193617-33edc47170b5/cli.go:255 +0x207
main.wrappedMain(0x0)
/opt/gopath/src/github.com/hashicorp/terraform/main.go:223 +0xb4e
main.realMain(0x0)
/opt/gopath/src/github.com/hashicorp/terraform/main.go:100 +0xb7
main.main()
/opt/gopath/src/github.com/hashicorp/terraform/main.go:36 +0x2e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment