Stay organized with collections
Save and categorize content based on your preferences.
Terraform
is an Infrastructure as code (IaC) tool that you can use to provision resources
and permissions for Cloud Quotas. To learn how to use Terraform
to provision infrastructure on Google Cloud, refer to the
Terraform on Google Cloud documentation.
You can use Terraform to do the following with Cloud Quotas:
Retrieve the QuotaInfo data source of a quota for a project, folder or
organization.
List QuotaInfos data source of all quotas for a given project, folder or
organization.
Create a new, or update an existing, QuotaPreference quota configuration
that specifies the preferred value for a quota.
Before you begin
Before you begin, you need access to Terraform:
If you're getting started, note that Cloud Shell has
Terraform already integrated, and you can follow this step by step
tutorial,
Deploy a basic Flask web server
using Terraform and Cloud Shell.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eTerraform, an Infrastructure as Code (IaC) tool, can be used to provision resources and permissions for Cloud Quotas.\u003c/p\u003e\n"],["\u003cp\u003eWith Cloud Quotas, Terraform can retrieve individual \u003ccode\u003eQuotaInfo\u003c/code\u003e data, list all \u003ccode\u003eQuotaInfos\u003c/code\u003e, and create or update \u003ccode\u003eQuotaPreference\u003c/code\u003e configurations.\u003c/p\u003e\n"],["\u003cp\u003eTerraform is readily available within Cloud Shell, or it can be independently installed using the instructions from HashiCorp.\u003c/p\u003e\n"],["\u003cp\u003eCloud Quotas offers Terraform resources such as \u003ccode\u003egoogle_cloud_quotas_quota_preference\u003c/code\u003e and \u003ccode\u003egoogle_cloud_quotas_quota_adjuster_settings\u003c/code\u003e, alongside data sources like \u003ccode\u003egoogle_cloud_quotas_quota_info\u003c/code\u003e and \u003ccode\u003egoogle_cloud_quotas_quota_infos\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]