-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
I am seeing the provider crash Terraform when trying to import a resource:
tf import 'cloudconnexa_network.this["dev"]' xx-xx-xx-xx-xxxx
╷
│ Error: Plugin did not respond
│
│ with provider["registry.terraform.io/openvpn/cloudconnexa"],
│ on /xxxx/backend.tf line 18, in provider "cloudconnexa":
│ 18: provider "cloudconnexa" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ConfigureProvider call. The plugin logs may contain more
│ details.
╵
Releasing state lock. This may take a few moments...
Stack trace from the terraform-provider-cloudconnexa_v1.0.1 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x38 pc=0x104df34d4]
goroutine 14 [running]:
github.com/OpenVPN/terraform-provider-cloudconnexa/cloudconnexa.providerConfigure({0x105030ca2?, 0x6?}, 0x140003b6b80)
github.com/OpenVPN/terraform-provider-cloudconnexa/cloudconnexa/provider.go:93 +0x124
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Provider).Configure(0x1400025be30, {0x105329e70, 0x14000395a10}, 0x1400039c5f0)
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/provider.go:391 +0x1d0
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ConfigureProvider(0x140003345b8, {0x105329e70?, 0x14000394f90?}, 0x140003a82e0)
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:647 +0x368
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).Configure(0x14000260fa0, {0x105329e70?, 0x140003942d0?}, 0x1400039c230)
github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:587 +0x2ac
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_Configure_Handler({0x1052fe880, 0x14000260fa0}, {0x105329e70, 0x140003942d0}, 0x140003b6000, 0x0)
github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:557 +0x1c0
google.golang.org/grpc.(*Server).processUnaryRPC(0x1400025e200, {0x105329e70, 0x14000394270}, 0x140003801e0, 0x140003582d0, 0x10589be70, 0x0)
google.golang.org/[email protected]/server.go:1392 +0xc44
google.golang.org/grpc.(*Server).handleStream(0x1400025e200, {0x10532a638, 0x1400046e000}, 0x140003801e0)
google.golang.org/[email protected]/server.go:1802 +0x910
google.golang.org/grpc.(*Server).serveStreams.func2.1()
google.golang.org/[email protected]/server.go:1030 +0x84
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 20
google.golang.org/[email protected]/server.go:1041 +0x13c
Error: The terraform-provider-cloudconnexa_v1.0.1 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.
Metadata
Metadata
Assignees
Labels
No labels