Created
April 1, 2020 10:01
-
-
Save therve/818e3b3f48e7e30e9cc39f0a10a58adc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2020/04/01 12:00:17 [INFO] Terraform version: 0.12.24 | |
2020/04/01 12:00:17 [INFO] Go runtime version: go1.13.8 | |
2020/04/01 12:00:17 [INFO] CLI args: []string{"/usr/local/bin/terraform", "init"} | |
2020/04/01 12:00:17 [ERROR] Error detecting default CLI config file path: user: Current requires cgo or $HOME set in environment | |
2020/04/01 12:00:17 [DEBUG] Attempting to open CLI config file: | |
2020/04/01 12:00:17 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2020/04/01 12:00:17 [ERROR] Error finding global config directory: user: Current requires cgo or $HOME set in environment | |
2020/04/01 12:00:17 [WARN] Cannot initialize remote host credentials manager: can't locate credentials file: user: Current requires cgo or $HOME set in environment | |
2020/04/01 12:00:17 [ERROR] Error finding global config directory: user: Current requires cgo or $HOME set in environment | |
2020/04/01 12:00:17 [ERR] Checkpoint setup error: user: Current requires cgo or $HOME set in environment | |
2020/04/01 12:00:17 [INFO] CLI command args: []string{"init"} | |
2020/04/01 12:00:17 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config | |
2020/04/01 12:00:17 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory | |
2020/04/01 12:00:17 [DEBUG] New state was assigned lineage "c53e292e-066e-dd76-825f-2447730ee43e" | |
2020/04/01 12:00:17 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend) | |
2020/04/01 12:00:17 [TRACE] Meta.Backend: instantiated backend of type <nil> | |
2020/04/01 12:00:17 [DEBUG] checking for provider in "." | |
2020/04/01 12:00:17 [DEBUG] checking for provider in "/usr/local/bin" | |
2020/04/01 12:00:17 [DEBUG] checking for provisioner in "." | |
2020/04/01 12:00:17 [DEBUG] checking for provisioner in "/usr/local/bin" | |
2020/04/01 12:00:17 [INFO] Failed to read plugin lock file .terraform/plugins/darwin_amd64/lock.json: open .terraform/plugins/darwin_amd64/lock.json: no such file or directory | |
2020/04/01 12:00:17 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend | |
2020/04/01 12:00:17 [TRACE] backend/local: state manager for workspace "default" will: | |
- read initial snapshot from terraform.tfstate | |
- write new snapshots to terraform.tfstate | |
- create any backup at terraform.tfstate.backup | |
2020/04/01 12:00:17 [TRACE] statemgr.Filesystem: reading initial snapshot from terraform.tfstate | |
2020/04/01 12:00:17 [TRACE] statemgr.Filesystem: snapshot file has nil snapshot, but that's okay | |
2020/04/01 12:00:17 [TRACE] statemgr.Filesystem: read nil snapshot | |
2020/04/01 12:00:17 [DEBUG] checking for provider in "." | |
2020/04/01 12:00:17 [DEBUG] checking for provider in "/usr/local/bin" | |
2020/04/01 12:00:17 [DEBUG] plugin requirements: "google"="" | |
2020/04/01 12:00:17 [DEBUG] plugin requirements: "null"="" | |
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2449596] | |
goroutine 1 [running]: | |
github.com/hashicorp/terraform/command/cliconfig.(*CredentialsSource).ForHost(0x0, 0x2a584d5, 0x15, 0x6, 0xc0000f01e8, 0x2a3a8b3, 0x3) | |
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/command/cliconfig/credentials.go:155 +0x26 | |
github.com/hashicorp/terraform-svchost/disco.(*Disco).CredentialsForHost(...) | |
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/pkg/mod/github.com/hashicorp/[email protected]/disco/disco.go:101 | |
github.com/hashicorp/terraform-svchost/disco.(*Disco).discover(0xc00045a0c0, 0x2a584d5, 0x15, 0x0, 0x0, 0x0) | |
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/pkg/mod/github.com/hashicorp/[email protected]/disco/disco.go:194 +0xd2d | |
github.com/hashicorp/terraform-svchost/disco.(*Disco).Discover(0xc00045a0c0, 0x2a584d5, 0x15, 0x0, 0x9, 0x15) | |
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/pkg/mod/github.com/hashicorp/[email protected]/disco/disco.go:146 +0x87 | |
github.com/hashicorp/terraform-svchost/disco.(*Disco).DiscoverServiceURL(0xc00045a0c0, 0x2a584d5, 0x15, 0x2a47b5f, 0xc, 0x0, 0x0, 0x0) | |
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/pkg/mod/github.com/hashicorp/[email protected]/disco/disco.go:158 +0x43 | |
github.com/hashicorp/terraform/registry.(*Client).Discover(0xc0003602a0, 0x2a584d5, 0x15, 0x2a47b5f, 0xc, 0x0, 0xc00059c0a0, 0x50) | |
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/registry/client.go:109 +0x61 | |
github.com/hashicorp/terraform/registry.(*Client).TerraformProviderVersions(0xc0003602a0, 0xc00059c0a0, 0x0, 0x0, 0x0) | |
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/registry/client.go:283 +0xc0 | |
github.com/hashicorp/terraform/plugin/discovery.(*ProviderInstaller).listProviderVersions(0xc0002ae770, 0xc0000d6980, 0x6, 0x2a3a08c, 0x1, 0x2a584d5, 0x15, 0x0, 0x102d051, 0x2af81f0) | |
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/plugin/discovery/get.go:477 +0x7e | |
github.com/hashicorp/terraform/plugin/discovery.(*ProviderInstaller).Get(0xc0002ae770, 0xc0000d6980, 0x6, 0x2a3a08c, 0x1, 0x2a584d5, 0x15, 0x3e6cba0, 0x0, 0x0, ...) | |
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/plugin/discovery/get.go:125 +0xde | |
github.com/hashicorp/terraform/command.(*InitCommand).getProviders(0xc0004bda40, 0xc0002ae8c0, 0x0, 0x0, 0xc00012c580, 0x0, 0x0, 0x0) | |
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/command/init.go:530 +0x4c3 | |
github.com/hashicorp/terraform/command.(*InitCommand).Run(0xc0004bda40, 0xc0000b8030, 0x0, 0x0, 0xc0000a16c0) | |
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/command/init.go:347 +0xfc4 | |
github.com/mitchellh/cli.(*CLI).Run(0xc00035c280, 0xc00035c280, 0xc000543cc0, 0x1) | |
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/pkg/mod/github.com/mitchellh/[email protected]/cli.go:255 +0x1da | |
main.wrappedMain(0x0) | |
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/main.go:239 +0xc43 | |
main.realMain(0x0) | |
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/main.go:103 +0xb4 | |
main.main() | |
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/main.go:39 +0x3a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment