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
- Develop with our latest Generative AI models and tools.
- Get free usage of 20+ popular products, including Compute Engine and AI APIs.
- 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
- Quickstart
- Reference
- Tutorial
- Tutorial
- Reference
Learn more
- Best practice
- Conceptual guide
- Tutorial
- 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.