Skip to content

Instantly share code, notes, and snippets.

@robothor
Last active August 15, 2016 10:31
Show Gist options
  • Save robothor/9e0aca5d1bc6c091026cdac5055e2c4d to your computer and use it in GitHub Desktop.
Save robothor/9e0aca5d1bc6c091026cdac5055e2c4d to your computer and use it in GitHub Desktop.
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)
/private/tmp/terraform-20160804-34503-u4nlpw/terraform-0.7.0/src/github.com/hashicorp/terraform/command/validate.go:36 +0x277
github.com/hashicorp/terraform/vendor/github.com/mitchellh/cli.(*CLI).Run(0xc8200b8e40, 0xc820272840, 0x0, 0x0)
/private/tmp/terraform-20160804-34503-u4nlpw/terraform-0.7.0/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/cli/cli.go:153 +0x56e
main.wrappedMain(0x0)
/private/tmp/terraform-20160804-34503-u4nlpw/terraform-0.7.0/src/github.com/hashicorp/terraform/main.go:144 +0xaf9
main.realMain(0x0)
/private/tmp/terraform-20160804-34503-u4nlpw/terraform-0.7.0/src/github.com/hashicorp/terraform/main.go:80 +0xa10
main.main()
/private/tmp/terraform-20160804-34503-u4nlpw/terraform-0.7.0/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