Skip to content

Instantly share code, notes, and snippets.

@robothor
Created August 19, 2016 10:35
Show Gist options
  • Save robothor/48f82eeb9539d27d4fe5de3ce2f84535 to your computer and use it in GitHub Desktop.
Save robothor/48f82eeb9539d27d4fe5de3ce2f84535 to your computer and use it in GitHub Desktop.
~/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)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/cli/cli.go:153 +0x56e
main.wrappedMain(0x0)
/opt/gopath/src/github.com/hashicorp/terraform/main.go:144 +0xb02
main.realMain(0x0)
/opt/gopath/src/github.com/hashicorp/terraform/main.go:80 +0xa10
main.main()
/opt/gopath/src/github.com/hashicorp/terraform/main.go:23 +0x28
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Terraform crashed! This is always indicative of a bug within Terraform.
A crash log has been placed at "crash.log" relative to your current
working directory. It would be immensely helpful if you could please
report the crash with Terraform[1] so that we can fix this.
When reporting bugs, please include your terraform version. That
information is available on the first line of crash.log. You can also
get it by running 'terraform --version' on the command line.
[1]: https://github.com/hashicorp/terraform/issues
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment