Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Error: The terraform-provider-google_v2.10.0_x4 plugin crashed! #41

Open
sandeepdev2101 opened this issue Nov 18, 2021 · 0 comments
Open

Comments

@sandeepdev2101
Copy link

After running the below command:
make create

│ Warning: Version constraints inside provider configuration blocks are deprecated

│ on provider.tf line 19, in provider "google":
│ 19: version = "~> 2.10.0"

│ Terraform 0.13 and earlier allowed provider version constraints inside the provider configuration block, but that is now deprecated and will be removed in a future version of Terraform. To silence this
│ warning, move the provider version constraint into the required_providers block.


│ Error: Plugin did not respond

│ with google_container_cluster.primary,
│ on resources.tf line 30, in resource "google_container_cluster" "primary":
│ 30: resource "google_container_cluster" "primary" {

│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may contain more details.

Stack trace from the terraform-provider-google_v2.10.0_x4 plugin:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x19503b7]

goroutine 41 [running]:
github.com/terraform-providers/terraform-provider-google/google.flattenMaintenancePolicy(...)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/google/resource_container_cluster.go:1927
github.com/terraform-providers/terraform-provider-google/google.resourceContainerClusterRead(0xc0007e2fc0, 0x1db2660, 0xc00030a900, 0x1bf11a0, 0x37c14a0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/google/resource_container_cluster.go:965 +0x1dd7
github.com/terraform-providers/terraform-provider-google/google.resourceContainerClusterCreate(0xc0007e2fc0, 0x1db2660, 0xc00030a900, 0x0, 0x0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/google/resource_container_cluster.go:915 +0x1c91
github.com/terraform-providers/terraform-provider-google/vendor/github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc0001b9f00, 0xc00009f9a0, 0xc0005e9b60, 0x1db2660, 0xc00030a900, 0xc0006aac01, 0xc0000914e8, 0x1d21bc0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/vendor/github.com/hashicorp/terraform/helper/schema/resource.go:286 +0x3b4
github.com/terraform-providers/terraform-provider-google/vendor/github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc0003f6400, 0xc00063da30, 0xc00009f9a0, 0xc0005e9b60, 0xc000691828, 0xc00012e768, 0x1d256a0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/vendor/github.com/hashicorp/terraform/helper/schema/provider.go:285 +0x18f
github.com/terraform-providers/terraform-provider-google/vendor/github.com/hashicorp/terraform/helper/plugin.(*GRPCProviderServer).ApplyResourceChange(0xc00000eaa0, 0x251ff00, 0xc000588960, 0xc000132720, 0xc00000eaa0, 0xc000588960, 0xc0005b3ba8)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/vendor/github.com/hashicorp/terraform/helper/plugin/grpc_provider.go:851 +0x894
github.com/terraform-providers/terraform-provider-google/vendor/github.com/hashicorp/terraform/internal/tfplugin5._Provider_ApplyResourceChange_Handler(0x20dc7a0, 0xc00000eaa0, 0x251ff00, 0xc000588960, 0xc00009f7c0, 0x0, 0x251ff00, 0xc000588960, 0xc000590000, 0x9b3)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/vendor/github.com/hashicorp/terraform/internal/tfplugin5/tfplugin5.pb.go:3217 +0x23e
github.com/terraform-providers/terraform-provider-google/vendor/google.golang.org/grpc.(*Server).processUnaryRPC(0xc000001b00, 0x252f2c0, 0xc000111080, 0xc0004f4900, 0xc000125a70, 0x3839660, 0x0, 0x0, 0x0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/vendor/google.golang.org/grpc/server.go:972 +0x470
github.com/terraform-providers/terraform-provider-google/vendor/google.golang.org/grpc.(*Server).handleStream(0xc000001b00, 0x252f2c0, 0xc000111080, 0xc0004f4900, 0x0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/vendor/google.golang.org/grpc/server.go:1252 +0xda6
github.com/terraform-providers/terraform-provider-google/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc000158010, 0xc000001b00, 0x252f2c0, 0xc000111080, 0xc0004f4900)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/vendor/google.golang.org/grpc/server.go:691 +0x9f
created by github.com/terraform-providers/terraform-provider-google/vendor/google.golang.org/grpc.(*Server).serveStreams.func1
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/vendor/google.golang.org/grpc/server.go:689 +0xa1

Error: The terraform-provider-google_v2.10.0_x4 plugin crashed!

This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.

make: *** [Makefile:26: create] Error 1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant