Skip to content
New issue

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

Issue when modifying SSO Mapping Groups in RBAC Group #184

Closed
b-per opened this issue Aug 30, 2023 · 0 comments
Closed

Issue when modifying SSO Mapping Groups in RBAC Group #184

b-per opened this issue Aug 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@b-per
Copy link
Collaborator

b-per commented Aug 30, 2023

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.
@b-per b-per added the bug Something isn't working label Aug 30, 2023
@b-per b-per closed this as completed Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant