-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The provider crashes while creating a heartbeats setup:
Plan: 2 to add, 17 to change, 0 to destroy.
╷
│ Error: Plugin did not respond
│
│ with module.ilert_rd_clusters.ilert_heartbeat_monitor.heartbeat["ray-prd.rd-ffp-ml-prd-8f79"],
│ on .terraform/modules/ilert_rd_clusters/lib/tf/system/ilert_setup/heartbeats.tf line 25, in resource "ilert_heartbeat_monitor" "heartbeat":
│ 25: resource "ilert_heartbeat_monitor" "heartbeat" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
╵
Stack trace from the terraform-provider-ilert_v2.14.2 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xba4bd8]
goroutine 413 [running]:
github.com/iLert/terraform-provider-ilert/ilert.resourceHeartbeatMonitorRead({0xf1ec68, 0xc000610660}, 0xc000640200, {0xdafea0?, 0xc0004a85e8})
github.com/iLert/terraform-provider-ilert/ilert/resource_heartbeat_monitor.go:239 +0x478
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc000231880, {0xf1eca0, 0xc000886f90}, 0xd?, {0xdafea0, 0xc0004a85e8})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/resource.go:724 +0x12e
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc000231880, {0xf1eca0, 0xc000886f90}, 0xc000b2b2b0, {0xdafea0, 0xc0004a85e8})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/resource.go:1015 +0x585
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0xc000010078, {0xf1eca0?, 0xc000886e70?}, 0xc0005bf900)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/grpc_provider.go:613 +0x4a5
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ReadResource(0xc000000000, {0xf1eca0?, 0xc000886690?}, 0xc00062d320)
github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/tf5server/server.go:748 +0x4b1
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadResource_Handler({0xd81980?, 0xc000000000}, {0xf1eca0, 0xc000886690}, 0xc00030f6c0, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:349 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0004be000, {0xf226e0, 0xc000603a00}, 0xc00080ac60, 0xc0002829c0, 0x1427290, 0x0)
google.golang.org/grpc@v1.51.0/server.go:1340 +0xd23
google.golang.org/grpc.(*Server).handleStream(0xc0004be000, {0xf226e0, 0xc000603a00}, 0xc00080ac60, 0x0)
google.golang.org/grpc@v1.51.0/server.go:1713 +0xa2f
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/grpc@v1.51.0/server.go:965 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.51.0/server.go:963 +0x28a
Error: The terraform-provider-ilert_v2.14.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.
Metadata
Metadata
Assignees
Labels
No labels