Skip to content

Instantly share code, notes, and snippets.

@robothor
Created August 15, 2016 10:32
Show Gist options
  • Save robothor/7dbdde22a7fe1e62f1747f22ba594ea0 to your computer and use it in GitHub Desktop.
Save robothor/7dbdde22a7fe1e62f1747f22ba594ea0 to your computer and use it in GitHub Desktop.
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(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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment