-
Notifications
You must be signed in to change notification settings - Fork 71
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
Terraform hitting API rate limits on Twilio when creating multiple resources #547
Comments
Opened an issue to support this in the Go SDK used by the provider: twilio/twilio-go#247 |
Typically when hitting this issue in the past, its been for activities or queues, which we could repeatedly run terraform apply to ensure everything ultimately made it into the environment. Im now finding with workflows thats impossible because workflows and studio flows will always trigger an update, due to the provider not ignoring whitespace Has anyone discovered any strategies for working around this? |
I've found that the |
i think i've found a workaround in the resource declare the configuration as follows
it still reports a diff, at least in terraform and i have not dug into exactly why but in testing, it successfully creates and updates through the long list of workflows, but when the workflow is the same - it doesnt seem to invoke the API - allowing us to progress through the long list of workflows with retries instead of getting stuck re-applying the same ones. |
As the subject line suggests, when adding multiple terraform resources of the same type the terraform deployment can fail because the Twilio rest API returns a 429, "Too many requests"
I'm aware this is an issue in the terraform provider and a retry handler should be implemented there.
I wanted to raise an issue for the community so we can track any progress in this area and also discuss any possible mitigation strategies we might be able to leverage until a fix in the provider can be made.
The text was updated successfully, but these errors were encountered: