Skip to content

Instantly share code, notes, and snippets.

@joaocc
Created September 10, 2016 11:02
Show Gist options
  • Save joaocc/137f6b44ceefb864e0c09b2dcaa28a5f to your computer and use it in GitHub Desktop.
Save joaocc/137f6b44ceefb864e0c09b2dcaa28a5f to your computer and use it in GitHub Desktop.
Terraform panic on "terraform state show"
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x30 pc=0x4bc772]
goroutine 1 [running]:
panic(0x33b5860, 0xc820012090)
/opt/go/src/runtime/panic.go:481 +0x3e6
github.com/hashicorp/terraform/command.(*StateShowCommand).Run(0xc8201ad200, 0xc82000a1c0, 0x0, 0x0, 0xc8202227d0)
/opt/gopath/src/github.com/hashicorp/terraform/command/state_show.go:53 +0x702
github.com/hashicorp/terraform/vendor/github.com/mitchellh/cli.(*CLI).Run(0xc8201ca900, 0xc8202e0360, 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 +0xaf9
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