Skip to content

Instantly share code, notes, and snippets.

@bobcallaway
Created March 16, 2020 16:26
Show Gist options
  • Save bobcallaway/8f0af764e5acd55ee2e9a6d1162fb2bc to your computer and use it in GitHub Desktop.
Save bobcallaway/8f0af764e5acd55ee2e9a6d1162fb2bc to your computer and use it in GitHub Desktop.
Bobs-MacBook-Pro:square-webhook bcallawa$ terraform init -reconfigure
Initializing the backend...
Successfully configured the backend "gcs"! Terraform will automatically
use this backend unless the backend configuration changes.
Initializing provider plugins...
- Checking for available provider plugins...
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x190bd7a]
goroutine 1 [running]:
github.com/hashicorp/terraform/registry.maxRetryErrorHandler(0x0, 0x2f2df40, 0xc0000af230, 0x2, 0x3, 0x3, 0x2f2df40)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/registry/client.go:422 +0xea
github.com/hashicorp/go-retryablehttp.(*Client).Do(0xc0001602a0, 0xc0002ca990, 0x2a8cc54, 0x13, 0xc00050a1e8)
/opt/teamcity-agent/work/9e329aa031982669/pkg/mod/github.com/hashicorp/[email protected]/client.go:452 +0x706
github.com/hashicorp/terraform/registry.(*Client).TerraformProviderVersions(0xc00053a380, 0xc0002623c0, 0x0, 0x0, 0x0)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/registry/client.go:305 +0x467
github.com/hashicorp/terraform/plugin/discovery.(*ProviderInstaller).listProviderVersions(0xc00032c8c0, 0xc0000bbf86, 0x6, 0x2a7362c, 0x1, 0x2a91705, 0x15, 0xc000050a70, 0xc000050a00, 0x0)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/plugin/discovery/get.go:477 +0x7e
github.com/hashicorp/terraform/plugin/discovery.(*ProviderInstaller).Get(0xc00032c8c0, 0xc0000bbf86, 0x6, 0x2a7362c, 0x1, 0x2a91705, 0x15, 0x41275b0, 0x0, 0x0, ...)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/plugin/discovery/get.go:125 +0xde
github.com/hashicorp/terraform/command.(*InitCommand).getProviders(0xc0004bf880, 0xc0003340e0, 0xc00000e098, 0x0, 0xc000458190, 0x0, 0x0, 0x0)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/command/init.go:530 +0x4c5
github.com/hashicorp/terraform/command.(*InitCommand).Run(0xc0004bf880, 0xc0000ae020, 0x1, 0x1, 0xc00013e840)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/command/init.go:347 +0x102d
github.com/mitchellh/cli.(*CLI).Run(0xc000100dc0, 0xc000100dc0, 0xc000539d90, 0x1)
/opt/teamcity-agent/work/9e329aa031982669/pkg/mod/github.com/mitchellh/[email protected]/cli.go:255 +0x1f1
main.wrappedMain(0x0)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/main.go:239 +0xc33
main.realMain(0x0)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/main.go:103 +0xb4
main.main()
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/main.go:39 +0x3b
!!!!!!!!!!!!!!!!!!!!!!!!!!! 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.
SECURITY WARNING: the "crash.log" file that was created may contain
sensitive information that must be redacted before it is safe to share
on the issue tracker.
[1]: https://github.com/hashicorp/terraform/issues
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Bobs-MacBook-Pro:square-webhook bcallawa$ terraform --version
Terraform v0.12.23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment