Skip to content

Instantly share code, notes, and snippets.

@antonbabenko
Created January 17, 2018 11:24
Show Gist options
  • Save antonbabenko/11de9aecb65ba369245011bb2b843f63 to your computer and use it in GitHub Desktop.
Save antonbabenko/11de9aecb65ba369245011bb2b843f63 to your computer and use it in GitHub Desktop.
2018/01/17 12:16:50 [INFO] Terraform version: 0.11.2 a6008b8a48a749c7c167453b9cf55ffd572b9a5d
2018/01/17 12:16:50 [INFO] Go runtime version: go1.9.1
2018/01/17 12:16:50 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/0.6.0/versions/0.11.2/terraform", "init"}
2018/01/17 12:16:50 [DEBUG] Attempting to open CLI config file: /Users/Bob/.terraformrc
2018/01/17 12:16:50 Loading CLI configuration from /Users/Bob/.terraformrc
2018/01/17 12:16:50 [INFO] CLI command args: []string{"init"}
2018/01/17 12:16:50 [DEBUG] command: loading backend config file: /Users/Bob/Sites/terracing-test-repo/terraform
2018/01/17 12:16:50 [TRACE] module source: "terraform-aws-modules/security-group/aws//modules/http-80"
2018/01/17 12:16:50 [TRACE] "terraform-aws-modules/security-group/aws//modules/http-80" is a registry module
2018/01/17 12:16:50 [INFO] no matching version for "terraform-aws-modules/security-group/aws//modules/http-80"<>, no versions found
2018/01/17 12:16:50 [DEBUG] matched "terraform-aws-modules/security-group/aws//modules/http-80" version for
2018/01/17 12:16:50 [DEBUG] Service discovery for registry.terraform.io at https://registry.terraform.io/.well-known/terraform.json
2018/01/17 12:16:53 [ERR] Checkpoint error: Get https://checkpoint-api.hashicorp.com/v1/check/terraform?arch=amd64&os=darwin&signature=4096d999-18a3-5f0e-df56-512af7e8bfe0&version=0.11.2: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2018/01/17 12:16:54 [WARNING] Failed to request discovery document: Get https://registry.terraform.io/.well-known/terraform.json: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2018/01/17 12:16:54 [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=0x38 pc=0x1521f06]
goroutine 1 [running]:
github.com/hashicorp/terraform/registry.(*Client).Discover(0xc4203ef180, 0x3343af9, 0x15, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/registry/client.go:70 +0x66
github.com/hashicorp/terraform/registry.(*Client).Versions(0xc4203ef180, 0xc42038edc0, 0x0, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/registry/client.go:83 +0xa2
github.com/hashicorp/terraform/config/module.Storage.findRegistryModule(0xc42034ebc0, 0x12, 0x0, 0x0, 0x0, 0x4abbe00, 0xc420369da0, 0x1, 0xc4203ef180, 0xc420019f81, ...)
/opt/gopath/src/github.com/hashicorp/terraform/config/module/storage.go:319 +0x6eb
github.com/hashicorp/terraform/config/module.(*Tree).getChildren(0xc420128f00, 0xc42038ed20, 0xc420128f38, 0xc4203ef180, 0xc4203ef180)
/opt/gopath/src/github.com/hashicorp/terraform/config/module/tree.go:219 +0x493
github.com/hashicorp/terraform/config/module.(*Tree).Load(0xc420128f00, 0xc42038ed20, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/config/module/tree.go:178 +0xab
github.com/hashicorp/terraform/command.getModules(0xc42016ca80, 0xc420018104, 0x2e, 0xc420017b01, 0x23, 0xc420017b60)
/opt/gopath/src/github.com/hashicorp/terraform/command/get.go:84 +0x135
github.com/hashicorp/terraform/command.(*InitCommand).Run(0xc42016ca80, 0xc42000a090, 0x0, 0x0, 0xc42033cd00)
/opt/gopath/src/github.com/hashicorp/terraform/command/init.go:178 +0xb50
github.com/hashicorp/terraform/vendor/github.com/mitchellh/cli.(*CLI).Run(0xc4202cfcc0, 0xc4202cfcc0, 0xc4201d7d18, 0x1)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/cli/cli.go:255 +0x1eb
main.wrappedMain(0x0)
/opt/gopath/src/github.com/hashicorp/terraform/main.go:214 +0xbda
main.realMain(0x0)
/opt/gopath/src/github.com/hashicorp/terraform/main.go:99 +0xbb
main.main()
/opt/gopath/src/github.com/hashicorp/terraform/main.go:35 +0x38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment