Error: The terraform-provider-snowflake_v0.76.0 plugin crashed #2263
Labels
bug
Used to mark issues with provider's incorrect behavior
category:resource
resource:user
Issue connected to the snowflake_user resource
Terraform CLI and Provider Versions
0.76.0
Terraform Configuration
Expected Behavior
Users to be created in snowflake
Actual Behavior
Error: Plugin did not respond
│
│ The plugin encountered an error, and failed to respond to the
│ plugin6.(*GRPCProvider).ApplyResourceChange call. The plugin logs may
│ contain more details.
Stack trace from the terraform-provider-snowflake_v0.76.0 plugin:
panic: interface conversion: sdk.ObjectIdentifier is sdk.SchemaObjectIdentifier, not sdk.AccountObjectIdentifier
goroutine 56 [running]:
github.com/Snowflake-Labs/terraform-provider-snowflake/pkg/resources.ReadUser(0x4000a0eb00, {0x1583d20?, 0x40009b56c0?})
github.com/Snowflake-Labs/terraform-provider-snowflake/pkg/resources/user.go:245 +0x884
github.com/Snowflake-Labs/terraform-provider-snowflake/pkg/resources.CreateUser(0x0?, {0x1583d20?, 0x40009b56c0?})
github.com/Snowflake-Labs/terraform-provider-snowflake/pkg/resources/user.go:237 +0xb34
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0x18e6820?, {0x18e6820?, 0x400106c240?}, 0xd?, {0x1583d20?, 0x40009b56c0?})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.29.0/helper/schema/resource.go:766 +0x134
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0x4000a40460, {0x18e6820, 0x400106c240}, 0x40010740d0, 0x4000a0e980, {0x1583d20, 0x40009b56c0})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.29.0/helper/schema/resource.go:909 +0x874
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0x400097a048, {0x18e6820?, 0x400106c060?}, 0x4001013900)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.29.0/helper/schema/grpc_provider.go:1060 +0xb5c
github.com/hashicorp/terraform-plugin-mux/tf5to6server.v5tov6Server.ApplyResourceChange({{0x1903b20?, 0x400097a048?}}, {0x18e6820, 0x400106c060}, 0x0?)
github.com/hashicorp/terraform-plugin-mux@v0.12.0/tf5to6server/tf5to6server.go:37 +0x58
github.com/hashicorp/terraform-plugin-mux/tf6muxserver.(*muxServer).ApplyResourceChange(0x18e6778?, {0x18e6820?, 0x4001035d10?}, 0x40010138b0)
github.com/hashicorp/terraform-plugin-mux@v0.12.0/tf6muxserver/mux_server_ApplyResourceChange.go:36 +0x184
github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ApplyResourceChange(0x4000940c80, {0x18e6820?, 0x4000fde6c0?}, 0x4000fd8460)
github.com/hashicorp/terraform-plugin-go@v0.19.0/tfprotov6/tf6server/server.go:857 +0x3b8
github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ApplyResourceChange_Handler({0x1530160?, 0x4000940c80}, {0x18e6820, 0x4000fde6c0}, 0x4000fd83f0, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.19.0/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:467 +0x164
google.golang.org/grpc.(*Server).processUnaryRPC(0x40004af2c0, {0x18f6500, 0x40009f6340}, 0x4001020240, 0x40006f9080, 0x2553438, 0x0)
google.golang.org/grpc@v1.58.2/server.go:1376 +0xb90
google.golang.org/grpc.(*Server).handleStream(0x40004af2c0, {0x18f6500, 0x40009f6340}, 0x4001020240, 0x0)
google.golang.org/grpc@v1.58.2/server.go:1753 +0x80c
google.golang.org/grpc.(*Server).serveStreams.func1.1()
google.golang.org/grpc@v1.58.2/server.go:998 +0x84
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.58.2/server.go:996 +0x164
Error: The terraform-provider-snowflake_v0.76.0 plugin crashed!
Steps to Reproduce
terraform apply
How much impact is this issue causing?
High
Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: