Skip to content

Instantly share code, notes, and snippets.

@gschultz
Created January 25, 2024 20:06
Show Gist options
  • Save gschultz/fdcbd59f6ee700188a6f19ce482f3f30 to your computer and use it in GitHub Desktop.
Save gschultz/fdcbd59f6ee700188a6f19ce482f3f30 to your computer and use it in GitHub Desktop.
harness_platform_connector_azure_key_vault delegate_selectors stacktrace
│ Error: Plugin did not respond
│ with module.harness.harness_platform_connector_azure_key_vault.this,
│ on modules/harness/connectors.tf line 74, in resource "harness_platform_connector_azure_key_vault" "this":
│ 74: resource "harness_platform_connector_azure_key_vault" "this" {
│ 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-harness_v0.30.2 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x111b6a2]
goroutine 70 [running]:
github.com/harness/terraform-provider-harness/internal/service/platform/connector.buildConnectorAzureKeyVault(0xc00099adc8?)
github.com/harness/terraform-provider-harness/internal/service/platform/connector/azure_key_vault.go:144 +0x462
github.com/harness/terraform-provider-harness/internal/service/platform/connector.resourceConnectorAzureKeyVaultCreateOrUpdate({0x18f0248, 0xc0000ab8c0}, 0x0?, {0x1372d80, 0xc00085f000})
github.com/harness/terraform-provider-harness/internal/service/platform/connector/azure_key_vault.go:93 +0x39
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0xc0005817a0, {0x18f0280, 0xc0008e2ae0}, 0xd?, {0x1372d80, 0xc00085f000})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.27.0/helper/schema/resource.go:733 +0x12e
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc0005817a0, {0x18f0280, 0xc0008e2ae0}, 0xc0005605b0, 0xc0008a8300, {0x1372d80, 0xc00085f000})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.27.0/helper/schema/resource.go:864 +0xa85
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc00000c108, {0x18f0280?, 0xc0008e29c0?}, 0xc000852140)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.27.0/helper/schema/grpc_provider.go:1024 +0xe3c
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0xc00052a0a0, {0x18f0280?, 0xc0008e21b0?}, 0xc0003b4070)
github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov5/tf5server/server.go:821 +0x574
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0x1463ae0?, 0xc00052a0a0}, {0x18f0280, 0xc0008e21b0}, 0xc0003b4000, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:422 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0000001e0, {0x18f34e0, 0xc0006344e0}, 0xc0008dc000, 0xc00049a720, 0x207cda0, 0x0)
google.golang.org/grpc@v1.57.0/server.go:1360 +0xe13
google.golang.org/grpc.(*Server).handleStream(0xc0000001e0, {0x18f34e0, 0xc0006344e0}, 0xc0008dc000, 0x0)
google.golang.org/grpc@v1.57.0/server.go:1737 +0xa1b
google.golang.org/grpc.(*Server).serveStreams.func1.1()
google.golang.org/grpc@v1.57.0/server.go:982 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.57.0/server.go:980 +0x18c
Error: The terraform-provider-harness_v0.30.2 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment