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

grpc: received message larger than max #1312

Closed
2 tasks done
carlrosell opened this issue Nov 16, 2021 · 0 comments
Closed
2 tasks done

grpc: received message larger than max #1312

carlrosell opened this issue Nov 16, 2021 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@carlrosell
Copy link

Confirmation

  • My issue isn't already found on the issue tracker.
  • I have replicated my issue using the latest version of the provider and it is still present.

Terraform and Cloudflare provider version

Terraform v1.0.11
on darwin_amd64

  • provider registry.terraform.io/cloudflare/cloudflare v3.4.0

Affected resource(s)

cloudflare_workers_kv

the issue is in terraform core. but there are several workarounds

Terraform configuration files

resource "cloudflare_workers_kv" "name" {
  namespace_id = "namespace"
  key          = "key"
  value        = "large-value"
}

Debug output

I'm not able to run it with debug enabled, but this is the error:

The plugin returned an unexpected error from
plugin.(*GRPCProvider).PlanResourceChange: rpc error: code =
ResourceExhausted desc = grpc: received message larger than max (4857267 vs.
4194304)

Panic output

No response

Expected output

The value should be uploaded unless it is is larger than KV limit of 25MB and not 4MB.

Actual output

The plugin returned an unexpected error from
plugin.(*GRPCProvider).PlanResourceChange: rpc error: code =
ResourceExhausted desc = grpc: received message larger than max (4857267 vs.
4194304)

Steps to reproduce

  1. create a new kv
  2. make the value larger than 4MB

Additional factoids

No response

References

hashicorp/terraform-provider-local#28
akamai/terraform-provider-akamai@b12e29c
IBM-Cloud/terraform-provider-ibm#1795

@carlrosell carlrosell added kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

2 participants