Terraform on Google Cloud documentation
Learn how to use Terraform to reliably provision infrastructure on Google Cloud. Learn more
Start your proof of concept with $300 in free credit
- Get access to Gemini 2.0 Flash Thinking
- Free monthly usage of popular products, including AI APIs and BigQuery
- No automatic charges, no commitment
Keep exploring with 20+ always-free products
Access 20+ free products for common use cases, including AI APIs, VMs, data warehouses, and more.
Documentation resources
Get started
- Tutorial
- Reference
- Tutorial
- Tutorial
- Reference
Learn more
- Best practice
- Conceptual guide
- Tutorial
- Reference
Use tools
- Tutorial
- Tutorial
- Tutorial
- Technical
Related resources
Learn Terraform fundamentals
In this lab, you install Terraform and create a VM instance using Terraform.
Learn how to automate Infrastructure on Google Cloud with Terraform
In this lab, you write infrastructure as code with Terraform.
Learn how to build Cloud Infrastructure with Terraform
In this lab, you learn how to describe and launch cloud resources with Terraform.
Learn about managing state
In this lab, you learn how to store Terraform state in Google Cloud Storage.
Learn to use Terraform modules
In this lab, you learn how modules can address problems of code complexity, duplication, and reuse.
Learn to use policy validation
In this lab, you learn how to enforce policies on Terraform configurations.
Resource samples
Find samples to build your infrastructure.
Blueprints
Find deployable, reusable Terraform modules.