-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Too many concurrent requests for cloud sql #8291
Comments
@thusoy the error comes from API. Besides the features Terraform provides like limiting the size of concurrent requests, there are not much the Provider can do to avoid the issue. Closing the issue then |
There's no way the provider could automatically apply limits to concurrent sql operations or something like that? Is there somewhere else I should file this issue, like terraform proper? Resolving this was not obvious, and it's unfortunate that the workaround involves restricting parallelism for the entire terraform run just to avoid a limitation in the sql api. |
This is work only for I understand what it is not terraform issue, but can anybody give info about how to resolve this/same issue? May be another issue thread in google provider repo? |
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Terraform v0.14.5
Google provider v3.53.0
Affected Resource(s)
Terraform Configuration Files
Debug Output
Too much to filter out in the full log, but this is the extract with the response from GCP:
Expected Behavior
Terraform should have created all the users.
Actual Behavior
The
plan
fails due to (presumably) too many concurrent requests.Steps to Reproduce
This doesn't reproduce reliably across all of our environments, but if you try to manage enough users at the same time (for us it's only six), you'll get the 400 from GCP. If we add the
-parallelism=3
flag the plan will succeed. Any value higher than 3 fails for us. Guessing this is new behavior from Google as we didn't have issues with more than 3 users before January 14th.terraform plan
The text was updated successfully, but these errors were encountered: