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.

Google Cloud uses quotas to help ensure fairness and reduce spikes in resource use and availability. A quota restricts how much of a Google Cloud resource your Google Cloud project can use. Quotas apply to a range of resource types, including hardware, software, and network components. For example, quotas can restrict the number of API calls to a service, the number of load balancers used concurrently by your project, or the number of projects that you can create. Quotas protect the community of Google Cloud users by preventing the overloading of services. Quotas also help you to manage your own Google Cloud resources.

The Cloud Quotas system does the following:

  • Monitors your consumption of Google Cloud products and services
  • Restricts your consumption of those resources
  • Provides a means to request changes to the quota value

In most cases, when you attempt to consume more of a resource than its quota allows, the system blocks access to the resource, and the task that you're trying to perform fails.

Quotas generally apply at the Google Cloud project level. Your use of a resource in one project doesn't affect your available quota in another project. Within a Google Cloud project, quotas are shared across all applications and IP addresses.

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.