429 Too many requests with terraform

I’m using terraform to manage DNS records.

The number of records is about 150, and Terraform Cloudflare provider makes the same number of API calls so it ended up resulting in 429 too many errors. (Some interleaving 403 errors too)

I don’t think that’s an abusive number of records.

How can I resolve this problem?

You likely simply sent too many requests within a defined period of time. Try to slow down a bit.