Skip to content

Instantly share code, notes, and snippets.

@wchrisjohnson
Created June 3, 2017 01:47
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 wchrisjohnson/e7ba0730cbb445897101971741dd47c5 to your computer and use it in GitHub Desktop.
Save wchrisjohnson/e7ba0730cbb445897101971741dd47c5 to your computer and use it in GitHub Desktop.
2017/06/02 20:57:26 [INFO] Terraform version: 0.9.6
2017/06/02 20:57:26 [INFO] Go runtime version: go1.8.3
2017/06/02 20:57:26 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.9.6/bin/terraform", "env", "new", "va02"}
2017/06/02 20:57:26 [DEBUG] Detected home directory from env var: /Users/johnson.chris
2017/06/02 20:57:26 [DEBUG] Discovered plugin: herokuinternal = /Users/johnson.chris/.terraform.d/plugins/terraform-provider-herokuinternal
2017/06/02 20:57:26 [DEBUG] Discovered plugin: libratointernal = /Users/johnson.chris/.terraform.d/plugins/terraform-provider-libratointernal
2017/06/02 20:57:26 [DEBUG] Detected home directory from env var: /Users/johnson.chris
2017/06/02 20:57:26 [DEBUG] Attempting to open CLI config file: /Users/johnson.chris/.terraformrc
2017/06/02 20:57:26 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/06/02 20:57:26 [DEBUG] Detected home directory from env var: /Users/johnson.chris
2017/06/02 20:57:26 [INFO] CLI command args: []string{"env", "new", "va02"}
2017/06/02 20:57:26 [DEBUG] command: loading backend config file: /Users/johnson.chris/gop/src/github.com/heroku/cedar/terraform/common-space
2017/06/02 20:57:26 [TRACE] Preserving existing state lineage "ed40d35b-ca12-43fc-9504-b570060ea2a6"
2017/06/02 20:57:26 [TRACE] Preserving existing state lineage "ed40d35b-ca12-43fc-9504-b570060ea2a6"
2017/06/02 20:57:26 [INFO] Building AWS region structure
2017/06/02 20:57:26 [INFO] Building AWS auth structure
2017/06/02 20:57:27 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2017/06/02 20:57:27 [INFO] AWS Auth provider used: "EnvProvider"
2017/06/02 20:57:27 [INFO] Initializing DeviceFarm SDK connection
2017/06/02 20:57:27 [DEBUG] Trying to get account ID via iam:GetUser
2017/06/02 20:57:27 [DEBUG] Getting account ID via iam:GetUser failed: AccessDenied: User: arn:aws:iam::658713220565:user/runtime-terraform-state is not authorized to perform: iam:GetUser on resource: arn:aws:iam::658713220565:user/runtime-terraform-state
status code: 403, request id: 9d2c9baa-47f7-11e7-93e2-a78948e63f86
2017/06/02 20:57:27 [DEBUG] Trying to get account ID via sts:GetCallerIdentity
2017/06/02 20:57:28 [WARN] Unable to get supported EC2 platforms: UnauthorizedOperation: You are not authorized to perform this operation.
status code: 403, request id: 7a8ad3ec-7c55-4009-8cb5-8d085623a138
2017/06/02 20:57:28 [INFO] command: backend initialized: *s3.Backend
2017/06/02 20:57:28 [INFO] command: backend *s3.Backend is not enhanced, wrapping in local
2017/06/02 20:57:29 [DEBUG] plugin: waiting for all plugin processes to complete...
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x46f62aa]
goroutine 1 [running]:
github.com/hashicorp/terraform/backend/remote-state/s3.(*RemoteClient).Get(0xc42032c690, 0xc42000a105, 0x0, 0x0)
/private/tmp/terraform-20170525-36317-scr3s4/terraform-0.9.6/src/github.com/hashicorp/terraform/backend/remote-state/s3/client.go:64 +0x11a
github.com/hashicorp/terraform/state/remote.(*State).RefreshState(0xc420945f20, 0xc42093f800, 0xc420586630)
/private/tmp/terraform-20170525-36317-scr3s4/terraform-0.9.6/src/github.com/hashicorp/terraform/state/remote/state.go:33 +0x37
github.com/hashicorp/terraform/backend/remote-state/s3.(*Backend).State(0xc42032dc70, 0x7fff5fbff4c8, 0x4, 0xc42089d1d0, 0x2a, 0xc42089d1d0, 0x2a)
/private/tmp/terraform-20170525-36317-scr3s4/terraform-0.9.6/src/github.com/hashicorp/terraform/backend/remote-state/s3/backend_state.go:146 +0x4c3
github.com/hashicorp/terraform/backend/local.(*Local).State(0xc42096ad20, 0x7fff5fbff4c8, 0x4, 0x4, 0x0, 0x0, 0x0)
/private/tmp/terraform-20170525-36317-scr3s4/terraform-0.9.6/src/github.com/hashicorp/terraform/backend/local/backend.go:177 +0xd6
github.com/hashicorp/terraform/command.(*EnvNewCommand).Run(0xc42058fe60, 0xc42007c070, 0x1, 0x1, 0x0)
/private/tmp/terraform-20170525-36317-scr3s4/terraform-0.9.6/src/github.com/hashicorp/terraform/command/env_new.go:64 +0x3e2
github.com/hashicorp/terraform/vendor/github.com/mitchellh/cli.(*CLI).Run(0xc4200f4240, 0xc4203ec1b0, 0xc420765cd0, 0x1)
/private/tmp/terraform-20170525-36317-scr3s4/terraform-0.9.6/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/cli/cli.go:154 +0x1a8
main.wrappedMain(0x0)
/private/tmp/terraform-20170525-36317-scr3s4/terraform-0.9.6/src/github.com/hashicorp/terraform/main.go:192 +0xb8e
main.realMain(0x0)
/private/tmp/terraform-20170525-36317-scr3s4/terraform-0.9.6/src/github.com/hashicorp/terraform/main.go:95 +0xbb
main.main()
/private/tmp/terraform-20170525-36317-scr3s4/terraform-0.9.6/src/github.com/hashicorp/terraform/main.go:31 +0x38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment