-
Notifications
You must be signed in to change notification settings - Fork 9k
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
Error: rpc error: code = ResourceExhausted desc = grpc: received message larger than max due to elasticmapreduce/ListSteps #14976
Comments
Previously I thought a large number of steps was the cause, but 1000 steps seems enough to break our terraform |
We are currently not seeing this issue anymore on aws provider version 3.6 |
@Thiago-Dantas, interesting! I will need to try that right away. Which version of terraform are you using? |
I was getting some weird russian spam on that so I deleted it, lol, sorry I can confirm that even with the ignore_changes terraform is still listing the steps on generated plans but we are no longer failing to apply changes |
Just checked and we are still seeing it: |
@Thiago-Dantas I still see this problem, can you re-open this issue please? |
I see the problem when deleting EMR cluster on TF v0.12.16 provider (hashicorp/aws) 3.18.0, could someone please suggest the fix module.emr_cluster.aws_emr_cluster.emr_cluster: Refreshing state... [id=j-*********] Error: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (4246485 vs. 4194304) Never faced this problem on Terraform 0.11 |
Im getting this again on plugin version 3.44.0 and 3.45.0 |
I am also seeing this. I left a comment on #9888. I have suggested a possible solution to the problem that may alleviate the issue on long standing EMR clusters. |
I have the same problem in version 0.15.5! |
This functionality has been released in v4.12.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.12.28
Affected Resource(s)
Debug Output
full log output (26MB) at https://drive.google.com/file/d/1ShpP3JmtHjg4nShKH2BJMjBJPamq8u94
Expected Behavior
Plan generated successfully
Actual Behavior
Error: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (5209913 vs. 4194304)
Steps to Reproduce
Start many steps on the EMR cluster (ours is currently on 23000) and try to generate a terraform plan
On the debug log we noticed a lot of calls to elasticmapreduce/ListSteps (some even had to be retried due to AWS throttling)
Important Factoids
Our EMR cluster is somewhere long lived and we start a lot of jobs on it during its lifespan
On our configuration we set to ignore changes to step hoping to avoid this type of problem but maybe the plugin doesn't know it doesn't have to query steps before producing configuration differences?
References
The text was updated successfully, but these errors were encountered: