site24x7 / terraform-provider-site24x7

Terraform provider for Site24x7
MIT License
22 stars 33 forks source link

panic in terraform-provider-site24x7_v1.0.90 plugin #288

Open valugi opened 1 month ago

valugi commented 1 month ago
The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
╵
╷
│ Error: Plugin did not respond
│ 
│   with module.website.site24x7_website_monitor.website,
│   on .terraform/modules/website/main.tf line 1, in resource "site24x7_website_monitor" "website":
│    1: resource "site24x7_website_monitor" "website" {
│ 
│ 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-site24x7_v1.0.90 plugin:

panic: interface conversion: interface {} is nil, not string

goroutine 26 [running]:
github.com/site24x7/terraform-provider-site24x7/site24x7/monitors.updateDomainExpiryMonitorResourceData(0xc000134000, 0xc00037e2c0)
        github.com/site24x7/terraform-provider-site24x7/site24x7/monitors/domain_expiry.go:422 +0xf0d
github.com/site24x7/terraform-provider-site24x7/site24x7/monitors.domainExpiryMonitorRead(0xc000134000, 0x1aea8c0, 0xc00046a8e0, 0xc000134000, 0x0)
        github.com/site24x7/terraform-provider-site24x7/site24x7/monitors/domain_expiry.go:253 +0xf7
github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc000046c80, 0xc0000a4730, 0x1aea8c0, 0xc00046a8e0, 0xc00020a440, 0x0, 0x0)
        github.com/hashicorp/terraform-plugin-sdk@v1.1.1/helper/schema/resource.go:455 +0x12e
github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin.(*GRPCProviderServer).ReadResource(0xc0000c45a0, 0x1c67410, 0xc000548d80, 0xc0000a4640, 0xc0000c45a0, 0xc000548d80, 0xc000256a50)
        github.com/hashicorp/terraform-plugin-sdk@v1.1.1/internal/helper/plugin/grpc_provider.go:525 +0x3dd
github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5._Provider_ReadResource_Handler(0x1ac2c40, 0xc0000c45a0, 0x1c67410, 0xc000548d80, 0xc00070c120, 0x0, 0x1c67410, 0xc000548d80, 0xc00061a600, 0x2c7)
        github.com/hashicorp/terraform-plugin-sdk@v1.1.1/internal/tfplugin5/tfplugin5.pb.go:3153 +0x214
google.golang.org/grpc.(*Server).processUnaryRPC(0xc00037e160, 0x1c6fe18, 0xc000437080, 0xc00061e000, 0xc00013f350, 0x2159570, 0x0, 0x0, 0x0)
        google.golang.org/grpc@v1.23.0/server.go:995 +0x482
google.golang.org/grpc.(*Server).handleStream(0xc00037e160, 0x1c6fe18, 0xc000437080, 0xc00061e000, 0x0)
        google.golang.org/grpc@v1.23.0/server.go:1275 +0xd2c
google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc0000ba750, 0xc00037e160, 0x1c6fe18, 0xc000437080, 0xc00061e000)
        google.golang.org/grpc@v1.23.0/server.go:710 +0xab
created by google.golang.org/grpc.(*Server).serveStreams.func1
        google.golang.org/grpc@v1.23.0/server.go:708 +0xa5

Error: The terraform-provider-site24x7_v1.0.90 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.