---
updatedAt: 2026-03-01T18:24:05.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/terraform/llms.txt
---

# Request limits

Preventing 429s

Users that have configurations with large numbers of similar data sources or resources, like security policies or custom rules, can occasionally see a `HTTP 429 Too Many Requests` error during application.

This is because Terraform attempts to execute items in a configuration in parallel, and depending on the number of similar items you have, there is potential to hit an API call rate that exceeds thresholds set to prevent overuse of system resources.

To address this, version 4.0.0 of our Terraform provider introduced the ability to set a global request limit in your configuration file or through an environment variable. The limit sets the maximum number of requests allowed per second, protecting the Terraform resources from being exhausted by single users. Once you exceed the limit, you receive the `429` error.

* **Configuration**.  Add the `request_limit` argument to the `provider` block of your configuration file, specifying the request limit per second.<br /><br />
  ```json hcl
  provider "akamai" {  
    request_limit = 3  
  }
  ```
* **Environment variable**. From your shell instance, specify the request limit per second using the `AKAMAI_REQUEST_LIMIT` environment variable.<br /><br />
  ```shell bash
  export AKAMAI_REQUEST_LIMIT=3
  ```

# Sibling pages

* [Breaking changes](https://techdocs.akamai.com/terraform/docs/breaking-changes.md)
* [Overview](https://techdocs.akamai.com/terraform/docs/overview.md)
* [Alternative authentication](https://techdocs.akamai.com/terraform/docs/gs-authentication.md)
* [Environment variables](https://techdocs.akamai.com/terraform/docs/environment-variables.md)
* [Base IDs](https://techdocs.akamai.com/terraform/docs/common-identifiers.md)
* [Import and export assets](https://techdocs.akamai.com/terraform/docs/import-and-export-assets.md)