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

GitHub Secondary rate limit error while applying the Terraform configurations #3744

Open
1 task
ankitatdnv opened this issue Oct 16, 2024 · 1 comment
Open
1 task
Labels
bug Something isn't working new Un-triaged issue

Comments

@ankitatdnv
Copy link

Expected Behavior

There should not be any issue

Actual Behavior

GitHub workflow fails with following Error in hashicorp/terraform-cdk-action GitHub action:
Error: You have exceeded a secondary rate limit. Please wait a few minutes before you try again. If you reach out to GitHub Support for help, please include the request ID 9641:3C4423:13A2F5D:13CFDCF:670F98AE.

Steps to Reproduce

Try to apply changes with at least 100 of resources

Versions

language: typescript
cdktf-cli: 0.20.6
node: v20.12.2
cdktf: 0.20.6
constructs: 10.3.0
jsii: null
terraform: 1.8.0
arch: x64
os: win32 10.0.19045

Providers

┌───────────────┬──────────────────┬─────────┬────────────┬─────────────────────────┬─────────────────┐
│ Provider Name │ Provider Version │ CDKTF │ Constraint │ Package Name │ Package Version │
├───────────────┼──────────────────┼─────────┼────────────┼─────────────────────────┼─────────────────┤
│ azuread │ 2.50.0 │ ^0.20.0 │ │ @cdktf/provider-azuread │ 12.3.0 │
├───────────────┼──────────────────┼─────────┼────────────┼─────────────────────────┼─────────────────┤
│ azurerm │ 3.99.0 │ ^0.20.0 │ │ @cdktf/provider-azurerm │ 12.12.0 │

Gist

No response

Possible Solutions

No response

Workarounds

No response

Anything Else?

No response

References

No response

Help Wanted

  • I'm interested in contributing a fix myself

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
@ankitatdnv ankitatdnv added bug Something isn't working new Un-triaged issue labels Oct 16, 2024
@DanielMSchmidt
Copy link
Contributor

This seems to refer to GitHubs secondary rate limit, it stems from e.g. too many concurrent requests to the GitHub API. If your configuration is creating github resources you might need to look into the --terraform-parallelism flag, but if your configuration only runs on github it is likely a cause unrelated to CDKTF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working new Un-triaged issue
Projects
None yet
Development

No branches or pull requests

2 participants