Skip to content

Conversation

@gaelL
Copy link

@gaelL gaelL commented Mar 27, 2025

  1. The stateful_string resource appears to be deprecated, so it has been replaced with the native terraform_data resource.

  2. Using stateful_string with a large Terraform plan resulted in the following error:

    │   with stateful_string.plan_output,
    │   on resource_plan_config.tf line 10, in resource "stateful_string" "plan_output":
    │   10: resource "stateful_string" "plan_output" {
    │
    │ The plugin returned an unexpected error from
    │ plugin.(*GRPCProvider).PlanResourceChange: rpc error: code =
    │ ResourceExhausted desc = grpc: received message larger than max (4858459
    │ vs. 4194304)
    

This change ensures better compatibility and simplify the code by removing the need of the external stateful plugin and avoids hitting gRPC message size limits.

1. The `stateful_string` resource appears to be deprecated, so it has been replaced with the native `terraform_data` resource.
2. Using `stateful_string` with a large Terraform plan resulted in the following error:

   ```
   │ Error: Plugin error
   │
   │   with stateful_string.plan_output,
   │   on resource_plan_config.tf line 10, in resource "stateful_string" "plan_output":
   │   10: resource "stateful_string" "plan_output" {
   │
   │ The plugin returned an unexpected error from
   │ plugin.(*GRPCProvider).PlanResourceChange: rpc error: code =
   │ ResourceExhausted desc = grpc: received message larger than max (4858459
   │ vs. 4194304)
   ```

This change ensures better compatibility and avoids hitting gRPC message size limits.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant