[BUG]: github_organization_team_sync_groups causing unhandled 429 (Too Many Attempts) errors #2557
Open
1 task done
Labels
Status: Triage
This is being looked at and prioritized
Type: Bug
Something isn't working as documented
Expected Behavior
Running TF code using the
github_organization_team_sync_groups
resource to apply mapping works normally when running in multiple workspaces at the same timeActual Behavior
When running multiple TF runs sumulatiously (20+) causes the
github_organization_team_sync_groups
to fail with429
status codes on the API:We're been scaling out our HCP concurrent runners to 50, but when trigger a set of workspaces that use this data source, after the 25th or so workspace the rest fails with this error.
All other Providers handle this well, even the Github providers works decent but this is the only datasource that consistently fails with this error.
Since a 429 is not retried by default I've tries to work around it with the following provider configuration:
But since solving a "Too many attempts" with more attempts is of course not a really good idea.... As expected this doesn't resolve the issue.
Is there something that can be implemented in the provider to solve/improve this?
Since getting ALL groups for a simple mapping is already a bit overkill, maybe related feature request can help with this: #1809
Terraform Version
Terraform 1.10.5
HCP
integrations/github: 6.5.0
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
No response
Debug Output
Panic Output
Code of Conduct
The text was updated successfully, but these errors were encountered: