Skip to content

Instantly share code, notes, and snippets.

@ivanlei
Created March 5, 2017 15:13
Show Gist options
  • Save ivanlei/a632a61276a4f0dae729e16e0341622e to your computer and use it in GitHub Desktop.
Save ivanlei/a632a61276a4f0dae729e16e0341622e to your computer and use it in GitHub Desktop.
terraform crash.log
2017/03/05 10:12:56 [INFO] Terraform version: 0.8.8 403a86dc557fae52f8e39676b11e1e4356b7d1a2
2017/03/05 10:12:56 [INFO] CLI args: []string{"/Volumes/dat/Users/ivanlei/bin/terraform", "plan"}
2017/03/05 10:12:56 [DEBUG] Detected home directory from env var: /Volumes/dat/Users/ivanlei
2017/03/05 10:12:56 [DEBUG] Detected home directory from env var: /Volumes/dat/Users/ivanlei
2017/03/05 10:12:56 [DEBUG] Attempting to open CLI config file: /Volumes/dat/Users/ivanlei/.terraformrc
2017/03/05 10:12:56 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/03/05 10:12:56 [DEBUG] Detected home directory from env var: /Volumes/dat/Users/ivanlei
2017/03/05 10:12:56 [DEBUG] plugin: waiting for all plugin processes to complete...
panic: runtime error: index out of range
goroutine 1 [running]:
github.com/hashicorp/terraform/config.(*interpolationWalker).replaceCurrent(0xc4201f2cc0, 0x410a6c0, 0xc420434d00, 0x97)
/opt/gopath/src/github.com/hashicorp/terraform/config/interpolate_walk.go:209 +0xd5
github.com/hashicorp/terraform/config.(*interpolationWalker).splitSlice(0xc4201f2cc0)
/opt/gopath/src/github.com/hashicorp/terraform/config/interpolate_walk.go:276 +0x7c7
github.com/hashicorp/terraform/config.(*interpolationWalker).Exit(0xc4201f2cc0, 0x4, 0xc4201f2cc0, 0x7f78368)
/opt/gopath/src/github.com/hashicorp/terraform/config/interpolate_walk.go:71 +0x10d
github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk.walkSlice(0x410a6c0, 0xc420434c60, 0x97, 0x4907e00, 0xc4201f2cc0, 0x3d094f4cc00, 0x2)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk/reflectwalk.go:283 +0x35a
github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk.walk(0x410a6c0, 0xc420434c60, 0x97, 0x4907e00, 0xc4201f2cc0, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk/reflectwalk.go:177 +0x4e8
github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk.Walk(0x410a6c0, 0xc420434c60, 0x4907e00, 0xc4201f2cc0, 0x6dd0c60, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk/reflectwalk.go:84 +0x131
github.com/hashicorp/terraform/config.(*Config).Validate(0xc4201ea6e0, 0xc42033bc40, 0x4172660)
/opt/gopath/src/github.com/hashicorp/terraform/config/config.go:316 +0x768a
github.com/hashicorp/terraform/config/module.(*Tree).Validate(0xc4202e7b30, 0x6d4af20, 0xc420434be0)
/opt/gopath/src/github.com/hashicorp/terraform/config/module/tree.go:273 +0x196
github.com/hashicorp/terraform/command.(*Meta).Context(0xc4203ff7a0, 0xc420018064, 0x50, 0x0, 0x4c5332f, 0x11, 0x0, 0xa, 0xc42018b9e0, 0x0, ...)
/opt/gopath/src/github.com/hashicorp/terraform/command/meta.go:200 +0x3ab
github.com/hashicorp/terraform/command.(*PlanCommand).Run(0xc4203ff7a0, 0xc42000a2b0, 0x0, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/command/plan.go:69 +0x5e0
github.com/hashicorp/terraform/vendor/github.com/mitchellh/cli.(*CLI).Run(0xc4201f2b40, 0xc420339410, 0xc4203139a0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/cli/cli.go:154 +0x1a8
main.wrappedMain(0x0)
/opt/gopath/src/github.com/hashicorp/terraform/main.go:156 +0x5e6
main.realMain(0x0)
/opt/gopath/src/github.com/hashicorp/terraform/main.go:88 +0xbb
main.main()
/opt/gopath/src/github.com/hashicorp/terraform/main.go:24 +0x38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment