Skip to content

Instantly share code, notes, and snippets.

@zerolaser
Created October 27, 2016 10:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zerolaser/601e20001da0f2878af63deb903ce86d to your computer and use it in GitHub Desktop.
Save zerolaser/601e20001da0f2878af63deb903ce86d to your computer and use it in GitHub Desktop.
panic: policy_arn is not a map, this is a bug in Terraform.
goroutine 1 [running]:
panic(0x2713440, 0xc420395850)
/opt/go/src/runtime/panic.go:500 +0x1a1
github.com/hashicorp/terraform/terraform.varSetMap(0xc420389ce0, 0xc4202d62e0, 0xa, 0x2713440, 0xc4202d67e0)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/variables.go:143 +0x34a
github.com/hashicorp/terraform/terraform.Variables(0xc4202d5a90, 0xc4202a8cc0, 0xc420389cb0, 0x0, 0xc420389cb0)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/variables.go:108 +0x375
github.com/hashicorp/terraform/terraform.NewContext(0xc4202c2d80, 0x0, 0x0, 0x452d400)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/context.go:132 +0x5b7
github.com/hashicorp/terraform/command.(*Meta).Context(0xc4200b52c0, 0xc4200140f4, 0x3e, 0x2eaedfa, 0x11, 0x0, 0xa, 0x4, 0x418afe, 0xc4200b52c0, ...)
/opt/gopath/src/github.com/hashicorp/terraform/command/meta.go:176 +0x325
github.com/hashicorp/terraform/command.(*PlanCommand).Run(0xc4200b52c0, 0xc4202aecc0, 0x2, 0x2, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/command/plan.go:65 +0x5cf
github.com/hashicorp/terraform/vendor/github.com/mitchellh/cli.(*CLI).Run(0xc4200beb40, 0xc4202a8450, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/cli/cli.go:154 +0x24e
main.wrappedMain(0x0)
/opt/gopath/src/github.com/hashicorp/terraform/main.go:150 +0x525
main.realMain(0x0)
/opt/gopath/src/github.com/hashicorp/terraform/main.go:85 +0xcb
main.main()
/opt/gopath/src/github.com/hashicorp/terraform/main.go:23 +0x38
!!!!!!!!!!!!!!!!!!!!!!!!!!! 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