Skip to content

Instantly share code, notes, and snippets.

@eilgin
Created October 25, 2017 13:53
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 eilgin/9110fc9755e0f2719d99c1c40ad76409 to your computer and use it in GitHub Desktop.
Save eilgin/9110fc9755e0f2719d99c1c40ad76409 to your computer and use it in GitHub Desktop.
failed to output path.root
2017/10/25 15:47:21 [INFO] Terraform version: 0.10.7
2017/10/25 15:47:21 [INFO] Go runtime version: go1.9
2017/10/25 15:47:21 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.10.7/bin/terraform", "console"}
2017/10/25 15:47:21 [DEBUG] Attempting to open CLI config file: /Users/eilgin/.terraformrc
2017/10/25 15:47:21 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/10/25 15:47:21 [DEBUG] CLI Config is main.Config{Providers:map[string]string{}, Provisioners:map[string]string{}, DisableCheckpoint:false, DisableCheckpointSignature:false, PluginCacheDir:""}
2017/10/25 15:47:21 [INFO] CLI command args: []string{"console"}
2017/10/25 15:47:21 [DEBUG] command: loading backend config file: /Users/eilgin/Documents/work/infra-build
2017/10/25 15:47:21 [INFO] command: backend config not found, returning nil: /Users/eilgin/Documents/work/infra-build
2017/10/25 15:47:21 [INFO] command: no config, returning nil
2017/10/25 15:47:21 [DEBUG] command: no data state file found for backend config
2017/10/25 15:47:21 [DEBUG] New state was assigned lineage "6ba9510c-8330-42a2-8281-52bc27acefb8"
2017/10/25 15:47:21 [INFO] command: backend initialized: <nil>
2017/10/25 15:47:21 [DEBUG] checking for provider in "."
2017/10/25 15:47:21 [DEBUG] checking for provider in "/usr/local/Cellar/terraform/0.10.7/bin"
2017/10/25 15:47:21 [DEBUG] checking for provisioner in "."
2017/10/25 15:47:21 [DEBUG] checking for provisioner in "/usr/local/Cellar/terraform/0.10.7/bin"
2017/10/25 15:47:21 [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
2017/10/25 15:47:21 [INFO] command: backend <nil> is not enhanced, wrapping in local
2017/10/25 15:47:21 [DEBUG] New state was assigned lineage "eb04cc17-417e-4d66-a620-819dab5add62"
2017/10/25 15:47:33 [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=0x161ba55]
goroutine 1 [running]:
github.com/hashicorp/terraform/config/module.(*Tree).Config(...)
/private/tmp/terraform-20171002-4675-1ffuljq/terraform-0.10.7/src/github.com/hashicorp/terraform/config/module/tree.go:68
github.com/hashicorp/terraform/terraform.(*Interpolater).valuePathVar(0xc420255680, 0xc4201d18d8, 0xc42039e612, 0x9, 0xc4203f6380, 0xc4203a4480, 0xc4203a43f0, 0xc4203a43f0)
/private/tmp/terraform-20171002-4675-1ffuljq/terraform-0.10.7/src/github.com/hashicorp/terraform/terraform/interpolate.go:224 +0x195
github.com/hashicorp/terraform/terraform.(*Interpolater).Values(0xc420255680, 0xc4201d18d8, 0xc4203a4450, 0x0, 0xc4203f23e8, 0xc42039e610)
/private/tmp/terraform-20171002-4675-1ffuljq/terraform-0.10.7/src/github.com/hashicorp/terraform/terraform/interpolate.go:84 +0x5e8
github.com/hashicorp/terraform/repl.(*Session).handleEval(0xc4201d1a88, 0xc42039e600, 0x9, 0x9, 0x9, 0x0, 0x0)
/private/tmp/terraform-20171002-4675-1ffuljq/terraform-0.10.7/src/github.com/hashicorp/terraform/repl/session.go:55 +0x2b7
github.com/hashicorp/terraform/repl.(*Session).Handle(0xc4201d1a88, 0xc42039e600, 0x9, 0x0, 0x0, 0x0, 0x0)
/private/tmp/terraform-20171002-4675-1ffuljq/terraform-0.10.7/src/github.com/hashicorp/terraform/repl/session.go:35 +0xa9
github.com/hashicorp/terraform/command.(*ConsoleCommand).modeInteractive(0xc42033cb60, 0xc4201d1a88, 0x43f6ee0, 0xc420382450, 0x0)
/private/tmp/terraform-20171002-4675-1ffuljq/terraform-0.10.7/src/github.com/hashicorp/terraform/command/console_interactive.go:48 +0x1e7
github.com/hashicorp/terraform/command.(*ConsoleCommand).Run(0xc42033cb60, 0x0, 0x0, 0x0, 0xc420257290)
/private/tmp/terraform-20171002-4675-1ffuljq/terraform-0.10.7/src/github.com/hashicorp/terraform/command/console.go:100 +0x612
github.com/hashicorp/terraform/vendor/github.com/mitchellh/cli.(*CLI).Run(0xc4202a9b80, 0xc4202a9b80, 0xc4201d1cc0, 0x1)
/private/tmp/terraform-20171002-4675-1ffuljq/terraform-0.10.7/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/cli/cli.go:255 +0x1eb
main.wrappedMain(0x0)
/private/tmp/terraform-20171002-4675-1ffuljq/terraform-0.10.7/src/github.com/hashicorp/terraform/main.go:217 +0xc50
main.realMain(0x0)
/private/tmp/terraform-20171002-4675-1ffuljq/terraform-0.10.7/src/github.com/hashicorp/terraform/main.go:96 +0xbb
main.main()
/private/tmp/terraform-20171002-4675-1ffuljq/terraform-0.10.7/src/github.com/hashicorp/terraform/main.go:32 +0x38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment