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
Expected: User with email address [email protected] gets admin role on the project.
Actual:
infisical_project_user.felix: Creating...
╷
│ 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-infisical_v0.12.3 plugin:
panic: runtime error: index out of range [0] with length 0
goroutine 15 [running]:
terraform-provider-infisical/internal/provider/resource.(*ProjectUserResource).Create(0xc0003d8080, {0xecb1b8, 0xc0000f0180}, {{{{0xed0430, 0xc000421170}, {0xc4c620, 0xc0000f1a70}}, {0xed2c28, 0xc000436460}}, {{{0xed0430, ...}, ...}, ...}, ...}, ...)
terraform-provider-infisical/internal/provider/resource/project_user_resource.go:256 +0x14c8
github.com/hashicorp/terraform-plugin-framework/internal/fwserver.(*Server).CreateResource(0xc00020c1e0, {0xecb1b8, 0xc0000f0180}, 0xc00060b5f8, 0xc00060b5d0)
github.com/hashicorp/[email protected]/internal/fwserver/server_createresource.go:101 +0x578
github.com/hashicorp/terraform-plugin-framework/internal/fwserver.(*Server).ApplyResourceChange(0xc00020c1e0, {0xecb1b8, 0xc0000f0180}, 0xc000172f50, 0xc00060b6e8)
github.com/hashicorp/[email protected]/internal/fwserver/server_applyresourcechange.go:57 +0x4aa
github.com/hashicorp/terraform-plugin-framework/internal/proto6server.(*Server).ApplyResourceChange(0xc00020c1e0, {0xecb1b8?, 0xc0000f0090?}, 0xc000172eb0)
github.com/hashicorp/[email protected]/internal/proto6server/server_applyresourcechange.go:55 +0x38e
github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ApplyResourceChange(0xc00021ae60, {0xecb1b8?, 0xc0004fb260?}, 0xc0000c4690)
github.com/hashicorp/[email protected]/tfprotov6/tf6server/server.go:865 +0x3bc
github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ApplyResourceChange_Handler({0xd3a1c0, 0xc00021ae60}, {0xecb1b8, 0xc0004fb260}, 0xc0005bef00, 0x0)
github.com/hashicorp/[email protected]/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:518 +0x1a6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001af200, {0xecb1b8, 0xc0004fb1d0}, {0xed1520, 0xc00047c000}, 0xc0005a86c0, 0xc00031e030, 0x1444978, 0x0)
google.golang.org/[email protected]/server.go:1369 +0xdf8
google.golang.org/grpc.(*Server).handleStream(0xc0001af200, {0xed1520, 0xc00047c000}, 0xc0005a86c0)
google.golang.org/[email protected]/server.go:1780 +0xe8b
google.golang.org/grpc.(*Server).serveStreams.func2.1()
google.golang.org/[email protected]/server.go:1019 +0x7f
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 36
google.golang.org/[email protected]/server.go:1030 +0x125
Error: The terraform-provider-infisical_v0.12.3 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 text was updated successfully, but these errors were encountered:
Setup
Resource
Expected: User with email address
[email protected]
gets admin role on the project.Actual:
The text was updated successfully, but these errors were encountered: