We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.8.4
3.7.0
cloud
provider "grafana" { url = "https://xxxxxxxxxxx.grafana.net" cloud_access_policy_token = var.grafana_token } resource "grafana_data_source" "test" { type = "cloudwatch" name = "CloudWatch-test json_data_encoded = jsonencode({ defaultRegion = "us-west-2" authType = "keys" }) }
Shouldn't panic
go panic:
╷ │ Error: Request cancelled │ │ The plugin.(*GRPCProvider).ImportResourceState request was cancelled. ╵ Stack trace from the terraform-provider-grafana_v3.7.0 plugin: panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x2f0 pc=0xfcf3817] goroutine 81 [running]: github.com/grafana/grafana-openapi-client-go/client.(*GrafanaHTTPAPI).Clone(...) github.com/grafana/[email protected]/client/grafana_http_api_client.go:173 github.com/grafana/terraform-provider-grafana/v3/internal/resources/grafana.OAPIClientFromExistingOrgResource({0x103449c0, 0xc000070960}, {0xc00011a3c0?, 0x0?}) github.com/grafana/terraform-provider-grafana/v3/internal/resources/grafana/oss_org_id.go:73 +0x77 github.com/grafana/terraform-provider-grafana/v3/internal/resources/grafana.resourceDataSource.func1({0x10685a28?, 0xc0009984b0?}, 0xc00065f180, {0x103449c0, 0xc000070960}) github.com/grafana/terraform-provider-grafana/v3/internal/resources/grafana/resource_data_source.go:40 +0xcc github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Provider).ImportState(0xc0005bb570, {0x10685a28, 0xc0009984b0}, 0xc00085d5b0, {0xc00011a3c0, 0x24}) github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/provider.go:475 +0x197 github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ImportResourceState(0xc0000109a8, {0x10685a28?, 0xc0009983f0?}, 0xc000869470) github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:1265 +0x605 github.com/hashicorp/terraform-plugin-mux/tf5muxserver.(*muxServer).ImportResourceState(0xc0005bb5e0, {0x10685a28?, 0xc0008694d0?}, 0xc000869470) github.com/hashicorp/[email protected]/tf5muxserver/mux_server_ImportResourceState.go:36 +0x193 github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ImportResourceState(0xc0005c0d20, {0x10685a28?, 0xc000868b40?}, 0xc00082ba40) github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:896 +0x265 github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ImportResourceState_Handler({0x105f24e0, 0xc0005c0d20}, {0x10685a28, 0xc000868b40}, 0xc00065e300, 0x0) github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:536 +0x1a6 google.golang.org/grpc.(*Server).processUnaryRPC(0xc0007ec400, {0x10685a28, 0xc000868a80}, {0x1068f080, 0xc000017980}, 0xc0008c4000, 0xc000761860, 0x116b2dd0, 0x0) google.golang.org/[email protected]/server.go:1379 +0xdf8 google.golang.org/grpc.(*Server).handleStream(0xc0007ec400, {0x1068f080, 0xc000017980}, 0xc0008c4000) google.golang.org/[email protected]/server.go:1790 +0xe8b google.golang.org/grpc.(*Server).serveStreams.func2.1() google.golang.org/[email protected]/server.go:1029 +0x8b created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 69 google.golang.org/[email protected]/server.go:1040 +0x125 Error: The terraform-provider-grafana_v3.7.0 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.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Terraform Version
1.8.4
Terraform Grafana Provider Version
3.7.0
Grafana Version
cloud
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Shouldn't panic
Actual Behavior
go panic:
Steps to Reproduce
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: