Skip to content

Instantly share code, notes, and snippets.

@ctrombley
Created November 11, 2021 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ctrombley/4cdfa01b110d85bc28c88890815351b0 to your computer and use it in GitHub Desktop.
Save ctrombley/4cdfa01b110d85bc28c88890815351b0 to your computer and use it in GitHub Desktop.
panic: interface conversion: interface {} is nil, not map[string]interface {}
goroutine 64 [running]:
github.com/grafana/terraform-provider-grafana/grafana.ReadAlertNotification(0xeaee08, 0xc0004e2b40, 0xc00032f200, 0xc4b7c0, 0xc0002404b0, 0xc0004eab70, 0xc0004dd908, 0x40e0f8)
github.com/grafana/terraform-provider-grafana/grafana/resource_alert_notification.go:163 +0xc85
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc0002b6000, 0xeaed98, 0xc000485b40, 0xc00032f200, 0xc4b7c0, 0xc0002404b0, 0x0, 0x0, 0x0)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.0/helper/schema/resource.go:347 +0x17f
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc0002b6000, 0xeaed98, 0xc000485b40, 0xc0004a7490, 0xc4b7c0, 0xc0002404b0, 0xc0004b6848, 0x0, 0x0, 0x0)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.0/helper/schema/resource.go:624 +0x1cb
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0xc0000b00a8, 0xeaed98, 0xc000485b40, 0xc000485b80, 0xc000485b40, 0x40b965, 0xd2f540)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.0/helper/schema/grpc_provider.go:575 +0x43b
github.com/hashicorp/terraform-plugin-go/tfprotov5/server.(*server).ReadResource(0xc0004d9ea0, 0xeaee40, 0xc000485b40, 0xc0004e2780, 0xc0004d9ea0, 0xc0004e4450, 0xc000573ba0)
github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/server/server.go:298 +0x105
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadResource_Handler(0xd62e20, 0xc0004d9ea0, 0xeaee40, 0xc0004e4450, 0xc0004e2720, 0x0, 0xeaee40, 0xc0004e4450, 0xc0005c4a20, 0x107)
github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:344 +0x214
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0000d6540, 0xeb65f8, 0xc00048b380, 0xc000324120, 0xc0001fe990, 0x134bf30, 0x0, 0x0, 0x0)
google.golang.org/grpc@v1.38.0/server.go:1286 +0x52b
google.golang.org/grpc.(*Server).handleStream(0xc0000d6540, 0xeb65f8, 0xc00048b380, 0xc000324120, 0x0)
google.golang.org/grpc@v1.38.0/server.go:1609 +0xd0c
google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc00003c2d0, 0xc0000d6540, 0xeb65f8, 0xc00048b380, 0xc000324120)
google.golang.org/grpc@v1.38.0/server.go:934 +0xab
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.38.0/server.go:932 +0x1fd
Error: The terraform-provider-grafana_v1.14.0 plugin crashed!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment