The provider errors when modifying sso_mapping_groups in a dbtcloud_group.
Stack trace from the terraform-provider-dbtcloud plugin:
panic: interface conversion: interface {} is []interface {}, not []string
goroutine 69 [running]:
github.com/dbt-labs/terraform-provider-dbtcloud/pkg/resources.resourceGroupUpdate({0x10125b200, 0x14000480330}, 0x140003b6600, {0x10124bb80?, 0x14000482880?})
/Users/bper/dev/terraform-provider-dbtcloud/pkg/resources/group.go:214 +0x76c
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).update(0x14000329340, {0x10125b238, 0x14000399410}, 0xd?, {0x10124bb80, 0x14000482880})
/Users/bper/go/pkg/mod/github.com/hashicorp/terraform-plugin-sdk/v2@v2.12.0/helper/schema/resource.go:376 +0xe8
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0x14000329340, {0x10125b238, 0x14000399410}, 0x140004b1860, 0x140003b6480, {0x10124bb80, 0x14000482880})
/Users/bper/go/pkg/mod/github.com/hashicorp/terraform-plugin-sdk/v2@v2.12.0/helper/schema/resource.go:482 +0x52c
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0x14000313de8, {0x10125b190?, 0x140004befa0?}, 0x140004beff0)
/Users/bper/go/pkg/mod/github.com/hashicorp/terraform-plugin-sdk/v2@v2.12.0/helper/schema/grpc_provider.go:1021 +0xb40
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0x140001c4640, {0x10125b238?, 0x14000398b70?}, 0x140003dae70)
/Users/bper/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.8.0/tfprotov5/tf5server/server.go:812 +0x388
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0x1012260e0?, 0x140001c4640}, {0x10125b238, 0x14000398b70}, 0x1400043f8c0, 0x0)
/Users/bper/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.8.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:385 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0x1400021e8c0, {0x10125eb18, 0x140000036c0}, 0x140006ad8c0, 0x14000326de0, 0x1016eab60, 0x0)
/Users/bper/go/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:1282 +0xb4c
google.golang.org/grpc.(*Server).handleStream(0x1400021e8c0, {0x10125eb18, 0x140000036c0}, 0x140006ad8c0, 0x0)
/Users/bper/go/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:1619 +0x82c
google.golang.org/grpc.(*Server).serveStreams.func1.2()
/Users/bper/go/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:921 +0x84
created by google.golang.org/grpc.(*Server).serveStreams.func1
/Users/bper/go/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:919 +0x28c
Error: The terraform-provider-dbtcloud 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.
The provider errors when modifying
sso_mapping_groups
in adbtcloud_group
.