You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
terraform plan has started to get crashed like this?
I have 3 Snowflake accounts (dev/stg/prd) and deploying the same resource. This happens only in specific account.
I found similar issue hashicorp/terraform-provider-aws#21079
Does anyone know how can we fix this?
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-snowflake_v0.25.29 plugin:
panic: runtime error: index out of range [1] with length 0
goroutine 17571 [running]:
github.com/chanzuckerberg/terraform-provider-snowflake/pkg/resources.ReadProcedure(0xc0000a0d00, {0x1cc88e0, 0xc0001160d0})
github.com/chanzuckerberg/terraform-provider-snowflake/pkg/resources/procedure.go:258 +0x111d
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0x1cdc49c, {0x1ecf378, 0xc000b18140}, 0x24, {0x1cc88e0, 0xc0001160d0})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.8.0/helper/schema/resource.go:335 +0x178
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc00027e1c0, {0x1ecf378, 0xc000b18140}, 0xc000470b60, {0x1cc88e0, 0xc0001160d0})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.8.0/helper/schema/resource.go:624 +0x35b
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0xc000362090, {0x1ecf378, 0xc000b18140}, 0xc000b18180)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.8.0/helper/schema/grpc_provider.go:576 +0x534
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ReadResource(0xc00013eb60, {0x1ecf420, 0xc00036b800}, 0xc0008bae40)
github.com/hashicorp/terraform-plugin-go@v0.4.0/tfprotov5/tf5server/server.go:298 +0x1fb
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadResource_Handler({0x1c93f60, 0xc00013eb60}, {0x1ecf420, 0xc00036b800}, 0xc0008bacc0, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.4.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:344 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000616540, {0x1ee1610, 0xc000110480}, 0xc0001f7680, 0xc0000ce4e0, 0x261aa70, 0x0)
google.golang.org/grpc@v1.41.0/server.go:1279 +0xccf
google.golang.org/grpc.(*Server).handleStream(0xc000616540, {0x1ee1610, 0xc000110480}, 0xc0001f7680, 0x0)
google.golang.org/grpc@v1.41.0/server.go:1608 +0xa2a
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/grpc@v1.41.0/server.go:923 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.41.0/server.go:921 +0x294
Error: The terraform-provider-snowflake_v0.25.29 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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
terraform plan
has started to get crashed like this?I have 3 Snowflake accounts (dev/stg/prd) and deploying the same resource. This happens only in specific account.
I found similar issue hashicorp/terraform-provider-aws#21079
Does anyone know how can we fix this?
Beta Was this translation helpful? Give feedback.
All reactions