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
Description:
A project role was created using Terraform. Subsequent manual edits were made to the role via the web UI. When attempting to run terraform plan or terraform apply after making changes through the web UI, instead of showing the changes and reverting them to match the Infrastructure as Code (IAC) configuration, the Terraform provider crashed.
Steps to Reproduce:
Create a new project role using Terraform.
Edit the created role using the web UI.
Run terraform plan to view the changes or terraform apply to apply the configuration.
Observe the crash in the Terraform provider.
Expected Behavior:
Terraform should detect the changes made via the web UI and show a plan to revert the changes to match the IAC configuration.
Actual Behavior:
The Terraform provider crashes, preventing the plan from showing the changes and reverting them to match the IAC configuration.
Environment:
Terraform version: v1.7.2 on linux_amd64
Provider version: v0.6.1
Logs/Errors:
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Plugin did not respond
│
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).ReadResource call. The plugin logs
│ may contain more details.
╵
╷
│ Error: Plugin did not respond
│
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).ReadResource call. The plugin logs
│ may contain more details.
╵
╷
│ Error: Plugin did not respond
│
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).ReadResource call. The plugin logs
│ may contain more details.
╵
Stack trace from the terraform-provider-infisical_v0.6.1 plugin:
panic: runtime error: index out of range [1] with length 1
goroutine 23 [running]:
github.com/hashicorp/terraform-plugin-framework/internal/fwschemadata.ValueSemanticEqualityListElements({0xd570e0, 0xc000414180}, {{{0xc00040c850, 0x1, 0x1}}, {0xd59ce8, 0xc00033f560}, {0xd59ce8, 0xc000414120}}, 0xc00001b0d8)
github.com/hashicorp/[email protected]/internal/fwschemadata/value_semantic_equality_list.go:145 +0xd8b
github.com/hashicorp/terraform-plugin-framework/internal/fwschemadata.ValueSemanticEqualityList({0xd570e0, 0xc000414180}, {{{0xc00040c850, 0x1, 0x1}}, {0xd59ce8, 0xc00033f560}, {0xd59ce8, 0xc000414120}}, 0xc00001b0d8)
github.com/hashicorp/[email protected]/internal/fwschemadata/value_semantic_equality_list.go:27 +0x497
github.com/hashicorp/terraform-plugin-framework/internal/fwschemadata.ValueSemanticEquality({0xd570e0, 0xc00040a660}, {{{0xc00040c850, 0x1, 0x1}}, {0xd59ce8, 0xc00033f560}, {0xd59ce8, 0xc000414120}}, 0xc00001b0d8)
github.com/hashicorp/[email protected]/internal/fwschemadata/value_semantic_equality.go:71 +0x36b
github.com/hashicorp/terraform-plugin-framework/internal/fwserver.SchemaSemanticEquality({0xd570e0, 0xc00040a660}, {{{0xc101f3, 0x5}, {0xd5c928, 0xc00015c730}, {{0xd5b250, 0xc0002764b0}, {0xb32e40, 0xc0001e13b0}}}, ...}, ...)
github.com/hashicorp/[email protected]/internal/fwserver/schema_semantic_equality.go:80 +0x39d
github.com/hashicorp/terraform-plugin-framework/internal/fwserver.(*Server).ReadResource(0xc0002a71e0, {0xd570e0, 0xc00040a660}, 0xc00040a750, 0xc00001b610)
github.com/hashicorp/[email protected]/internal/fwserver/server_readresource.go:135 +0x950
github.com/hashicorp/terraform-plugin-framework/internal/proto6server.(*Server).ReadResource(0xc0002a71e0, {0xd570e0?, 0xc00040a510?}, 0xc000627940)
github.com/hashicorp/[email protected]/internal/proto6server/server_readresource.go:55 +0x27b
github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ReadResource(0xc0002a3180, {0xd570e0?, 0xc000407d70?}, 0xc0002784e0)
github.com/hashicorp/[email protected]/tfprotov6/tf6server/server.go:746 +0x4b1
github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ReadResource_Handler({0xbe6f80?, 0xc0002a3180}, {0xd570e0, 0xc000407d70}, 0xc0002141c0, 0x0)
github.com/hashicorp/[email protected]/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:383 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0003081e0, {0xd5b538, 0xc000102d00}, 0xc000259e60, 0xc000397f50, 0x11cc690, 0x0)
google.golang.org/[email protected]/server.go:1337 +0xdf0
google.golang.org/grpc.(*Server).handleStream(0xc0003081e0, {0xd5b538, 0xc000102d00}, 0xc000259e60, 0x0)
google.golang.org/[email protected]/server.go:1714 +0xa2f
google.golang.org/grpc.(*Server).serveStreams.func1.1()
google.golang.org/[email protected]/server.go:959 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/[email protected]/server.go:957 +0x18c
Error: The terraform-provider-infisical_v0.6.1 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.
Additional Information:
The crash occurs only after manual edits are made via the web UI.
No issues were encountered when creating or managing roles exclusively through Terraform.
The text was updated successfully, but these errors were encountered:
Description:
A project role was created using Terraform. Subsequent manual edits were made to the role via the web UI. When attempting to run terraform plan or terraform apply after making changes through the web UI, instead of showing the changes and reverting them to match the Infrastructure as Code (IAC) configuration, the Terraform provider crashed.
Steps to Reproduce:
Expected Behavior:
Terraform should detect the changes made via the web UI and show a plan to revert the changes to match the IAC configuration.
Actual Behavior:
The Terraform provider crashes, preventing the plan from showing the changes and reverting them to match the IAC configuration.
Environment:
Terraform version: v1.7.2 on linux_amd64
Provider version: v0.6.1
Logs/Errors:
Additional Information:
The crash occurs only after manual edits are made via the web UI.
No issues were encountered when creating or managing roles exclusively through Terraform.
The text was updated successfully, but these errors were encountered: