Created
December 28, 2021 16:59
-
-
Save justinTM/f8570fa80cdaf690e1c5be0554dac1e5 to your computer and use it in GitHub Desktop.
grafana_synthetic_monitoring_check.all: Creating... 84╷ 85│ Error: Plugin did not respond
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Terraform used the selected providers to generate the following execution | |
plan. Resource actions are indicated with the following symbols: | |
+ create | |
Terraform will perform the following actions: | |
# grafana_synthetic_monitoring_check.all will be created | |
+ resource "grafana_synthetic_monitoring_check" "all" { | |
+ alert_sensitivity = "none" | |
+ basic_metrics_only = true | |
+ enabled = true | |
+ frequency = 60000 | |
+ id = (known after apply) | |
+ job = "testing1" | |
+ labels = { | |
+ "Environment" = "dev" | |
+ "ManagedBy" = "Terraform" | |
+ "Name" = "synthetic-monitoring" | |
+ "Owner" = "justinTM" | |
+ "Project" = "Grafana Provisioning" | |
} | |
+ target = "https://www.google.com/" | |
+ tenant_id = (known after apply) | |
+ timeout = 3000 | |
+ settings { | |
} | |
} | |
Plan: 1 to add, 0 to change, 0 to destroy. | |
grafana_synthetic_monitoring_check.all: Creating... | |
╷ | |
│ Error: Plugin did not respond | |
│ | |
│ with grafana_synthetic_monitoring_check.all, | |
│ on checks.tf line 9, in resource "grafana_synthetic_monitoring_check" "all": | |
│ 9: resource "grafana_synthetic_monitoring_check" "all" { | |
│ | |
│ The plugin encountered an error, and failed to respond to the | |
│ plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may | |
│ contain more details. | |
╵ | |
/12/17 11:51:56 [DEBUG] DELETE https://gitlab.com/api/v4/projects/XXXXXXX/terraform/state/dev/lock | |
Stack trace from the terraform-provider-grafana_v1.16.0 plugin: | |
panic: runtime error: index out of range [0] with length 0 | |
goroutine 41 [running]: | |
github.com/grafana/terraform-provider-grafana/grafana.makeCheck(0xc0003ec780, 0xc00030f520) | |
github.com/grafana/terraform-provider-grafana/grafana/resource_synthetic_monitoring_check.go:765 +0xb55 | |
github.com/grafana/terraform-provider-grafana/grafana.resourceSyntheticMonitoringCheckCreate(0xedd6e8, 0xc0003b6de0, 0xc0003ec780, 0xc6fb80, 0xc000384840, 0xc000416900, 0x6e732a, 0xc0003ec600) | |
github.com/grafana/terraform-provider-grafana/grafana/resource_synthetic_monitoring_check.go:506 +0x6f | |
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0xc0002f1420, 0xedd678, 0xc0003bf0c0, 0xc0003ec780, 0xc6fb80, 0xc000384840, 0x0, 0x0, 0x0) | |
github.com/hashicorp/terraform-plugin-sdk/v2@v2.9.0/helper/schema/resource.go:341 +0x17f | |
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc0002f1420, 0xedd678, 0xc0003bf0c0, 0xc0003ee820, 0xc0003ec600, 0xc6fb80, 0xc000384840, 0x0, 0x0, 0x0, ...) | |
github.com/hashicorp/terraform-plugin-sdk/v2@v2.9.0/helper/schema/resource.go:467 +0x67b | |
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc00000c0c0, 0xedd678, 0xc0003bf0c0, 0xc0003c8910, 0xc0003bf0c0, 0xd8bca0, 0xc0003e8000) | |
github.com/hashicorp/terraform-plugin-sdk/v2@v2.9.0/helper/schema/grpc_provider.go:977 +0xacf | |
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0xc00007bf40, 0xedd720, 0xc0003bf0c0, 0xc0002ab180, 0xc00007bf40, 0xc0003e8000, 0xc00025fba0) | |
github.com/hashicorp/terraform-plugin-go@v0.4.0/tfprotov5/tf5server/server.go:332 +0xb5 | |
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler(0xd8bca0, 0xc00007bf40, 0xedd720, 0xc0003e8000, 0xc0003b6600, 0x0, 0xedd720, 0xc0003e8000, 0xc000055180, 0x370) | |
github.com/hashicorp/terraform-plugin-go@v0.4.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:380 +0x214 | |
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0002a0540, 0xee4db8, 0xc0004f4300, 0xc0003e47e0, 0xc0001feb40, 0x138c040, 0x0, 0x0, 0x0) | |
google.golang.org/grpc@v1.42.0/server.go:1282 +0x52b | |
google.golang.org/grpc.(*Server).handleStream(0xc0002a0540, 0xee4db8, 0xc0004f4300, 0xc0003e47e0, 0x0) | |
google.golang.org/grpc@v1.42.0/server.go:1616 +0xd0c | |
google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc0000aa2a0, 0xc0002a0540, 0xee4db8, 0xc0004f4300, 0xc0003e47e0) | |
google.golang.org/grpc@v1.42.0/server.go:921 +0xab | |
created by google.golang.org/grpc.(*Server).serveStreams.func1 | |
google.golang.org/grpc@v1.42.0/server.go:919 +0x1fd | |
Error: The terraform-provider-grafana_v1.16.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. | |
time=2021-12-17T11:51:56Z level=error msg=Hit multiple errors: | |
Hit multiple errors: | |
exit status 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment