Quotas and limits

This document lists the quotas and limits that apply to Infrastructure Manager.

Infra Manager is subject to the Cloud Build quotas and limits and to the Cloud Storage quotas and limits.

For information about quota validation for resources provisioned using Infra Manager, see quota validation of provisioned resources.

A quota restricts how much of a shared Google Cloud resource your Google Cloud project can use, including hardware, software, and network components. Therefore, quotas are a part of a system that does the following:

  • Monitors your use or consumption of Google Cloud products and services.
  • Restricts your consumption of those resources, for reasons that include ensuring fairness and reducing spikes in usage.
  • Maintains configurations that automatically enforce prescribed restrictions.
  • Provides a means to request or make changes to the quota.

In most cases, when a quota is exceeded, the system immediately blocks access to the relevant Google resource, and the task that you're trying to perform fails. In most cases, quotas apply to each Google Cloud project and are shared across all applications and IP addresses that use that Google Cloud project.

There are also limits on Infra Manager resources. These limits are unrelated to the quota system. Limits cannot be changed unless otherwise stated.

Allocation quotas

The following quotas don't reset over time and instead are released when you release the resource:

Quotas Value
Deployments per project per region 1,000
Previews per project per region 1,000

Request quotas

The following quotas apply to Infra Manager requests:

Quota Value
Mutating requests per minute per project per region 20
Number of API requests per minute per project per region 1,200

Usage limits

Infra Manager enforces the following usage limits:

Usage limit Value
Number of Terraform input variables 50
Number of resources returned when listing resources 500
Length of identifiers 40 characters
Size of the API payload 10,000 bytes
Number of the historical revisions 100

Request a quota increase

To increase or decrease most quotas, use the Google Cloud console. For more information, see Request a higher quota.

Quota validation of provisioned resources

Infra Manager provisions Google Cloud resources. These resources have their own quotas and limitations. For example, Virtual Private Cloud has its own quotas and limitations.

You can enable quota validation when using Infra Manager to create or update a deployment to ensure that the infrastructure outlined using your Terraform configuration doesn't exceed your quota limits.

Infra Manager uses the quota-validation flag to determine whether to validate the resources outlined in your Terraform configuration as part of the gcloud infra-manager deployments apply command. When the quota-validation flag is in use, Infra Manager either logs when a deployment exceeds quota limits (ENABLED), or prevents the deployment altogether (ENFORCED).

Infra Manager quota limits are assessed for only the following Google Cloud resource types:

  • google_compute_network
  • google_compute_disk
  • google_compute_instance

For more information about how to use quota validation with Infra Manager, see deploy resources, or update a deployment.