Please let us know what requests you’re sending
I think what would be nice is if GET requests would get their limit raised. As far as I can tell, Terraform will refresh the state of all resources at startup and will issue a GET for every declared resource.
I’m not even touching RRset resources yet. Just the 6 tokens + their attached policies cause a minute of delay. I think that’s hitting the account_management_passive limits with these URLs:
- https://desec.io/api/v1/auth/tokens/{id}/
- https://desec.io/api/v1/auth/tokens/{token.id}/policies/rrsets/{policy.id}/
The URLs above are a bit of guesswork because I use the Terraform module, which internally uses another library to talk to the API.
I understand that resource changes might be more expensive and hence have lower limits.
and why the bulk API doesn’t provide a solution for your use case
Regarding bulk requests, I found this comment by the Terraform module author:
However, Terraform doesn’t offer any mechanisms for batching, so this would require a hack in the provider to do.