Skip to content

Instantly share code, notes, and snippets.

View robothor's full-sized avatar

Matt Long robothor

View GitHub Profile

Keybase proof

I hereby claim:

  • I am robothor on github.
  • I am robothor (https://keybase.io/robothor) on keybase.
  • I have a public key ASCmJ59aiGRAR2Z2AQrZAS_RohkIuHaywm_TJiS6cs67oQo

To claim this, I am signing this object:

nomad alloc-status 10b3fbdb
ID = 10b3fbdb
Eval ID = 3293b0f2
Name = mtl-example.mtl-test[0]
Node ID = ec28299f
Job ID = mtl-example
Client Status = running
Client Description = <none>
Desired Status = run
Desired Description = <none>
job "mtl-example" {
datacenters = ["eu-west-1"]
type = "service"
update {
stagger = "10s"
max_parallel = 1
}
group "mtl-test" {
count = 1
cat crash.log   2   consul
2016/08/19 12:29:12 [INFO] Terraform version: 0.7.0 rc4 abfd2c1daf914867b8737ac9419f3bd2ecc7a822
2016/08/19 12:29:12 [DEBUG] Detected home directory from env var: /Users/mtl
2016/08/19 12:29:12 [DEBUG] Detected home directory from env var: /Users/mtl
2016/08/19 12:29:12 [DEBUG] Attempting to open CLI config file: /Users/mtl/.terraformrc
2016/08/19 12:29:12 [DEBUG] Detected home directory from env var: /Users/mtl
2016/08/19 12:29:13 [WARN] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2016/08/19 12:29:13 [DEBUG] plugin: waiting for all plugin processes to complete...
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x30 pc=0xbc712]
~/bin/aws-vault exec iam_logging_admin -- ~/bin/terraform state show module.consul-server-cluster    consul
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x30 pc=0xbc712]
goroutine 1 [running]:
panic(0x2f92040, 0xc820012110)
/opt/go/src/runtime/panic.go:481 +0x3e6
github.com/hashicorp/terraform/command.(*StateShowCommand).Run(0xc8200c9a00, 0xc8202ee620, 0x1, 0x1, 0xc8201f8eb0)
/opt/gopath/src/github.com/hashicorp/terraform/command/state_show.go:53 +0x702
github.com/hashicorp/terraform/vendor/github.com/mitchellh/cli.(*CLI).Run(0xc8200cef00, 0xc8201dff80, 0x0, 0x0)
2016/08/15 12:30:56 [INFO] Terraform version: 0.7.0
2016/08/15 12:30:56 [DEBUG] Detected home directory from env var: /Users/mtl
2016/08/15 12:30:56 [DEBUG] Detected home directory from env var: /Users/mtl
2016/08/15 12:30:56 [DEBUG] Attempting to open CLI config file: /Users/mtl/.terraformrc
2016/08/15 12:30:56 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2016/08/15 12:30:56 [DEBUG] Detected home directory from env var: /Users/mtl
2016/08/15 12:30:56 [DEBUG] plugin: waiting for all plugin processes to complete...
panic: Unknown type in count var: aws_iam_role_policy_attachment.test-attach
goroutine 1 [running]:
panic: Unknown type in count var: aws_iam_role_policy_attachment.test-attach
goroutine 1 [running]:
panic(0x2672be0, 0xc820302510)
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/panic.go:481 +0x3e6
github.com/hashicorp/terraform/config.(*Config).Validate(0xc8201ae0b0, 0x0, 0x0)
/private/tmp/terraform-20160804-34503-u4nlpw/terraform-0.7.0/src/github.com/hashicorp/terraform/config/config.go:474 +0x59bb
github.com/hashicorp/terraform/command.(*ValidateCommand).validate(0xc8201cc2d0, 0xc8201cbfa0, 0x11, 0x11)
/private/tmp/terraform-20160804-34503-u4nlpw/terraform-0.7.0/src/github.com/hashicorp/terraform/command/validate.go:52 +0x1df
github.com/hashicorp/terraform/command.(*ValidateCommand).Run(0xc8201cc2d0, 0xc82000a290, 0x1, 0x1, 0xc8201d2e00)