Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Terraform
  3. terraform-provider-google

terraform-provider-google

MPL-2.0Gov8.8.0

Terraform plugin for managing Google Cloud Platform resources through infrastructure-as-code.

Visit WebsiteGitHubGitHub
2.7k stars1.9k forks0 contributors

What is terraform-provider-google?

The Terraform Google provider is an official plugin that enables Terraform to manage resources on Google Cloud Platform. It translates Terraform configuration into API calls to create, update, and delete GCP services like VMs, databases, and storage buckets. This allows teams to treat their cloud infrastructure as version-controlled code that can be automated and reproduced consistently.

Target Audience

DevOps engineers, cloud architects, and infrastructure teams using Google Cloud Platform who want to manage their infrastructure through Terraform's infrastructure-as-code approach.

Value Proposition

As an officially maintained provider by both Google and HashiCorp, it offers reliable, up-to-date support for GCP services with the full power of Terraform's state management and planning capabilities. The separate beta provider allows early access to new GCP features while maintaining stability in production environments.

Overview

Terraform Provider for Google Cloud Platform

Use Cases

Best For

  • Automating Google Cloud Platform infrastructure deployment
  • Managing GCP resources through infrastructure-as-code practices
  • Creating reproducible cloud environments for development and production
  • Implementing consistent security policies across GCP resources
  • Version-controlling cloud infrastructure configurations
  • Orchestrating complex multi-service deployments on GCP

Not Ideal For

  • Teams managing multi-cloud infrastructures where GCP is only a minor component, as it solely covers GCP resources
  • Projects requiring rapid, ad-hoc infrastructure changes without planning phases, as Terraform mandates stateful operations and plans
  • Organizations preferring imperative scripting or direct API calls over declarative configurations for fine-grained control
  • Environments heavily reliant on Google Cloud's beta or experimental features without stable counterparts, due to potential instability in the google-beta provider

Pros & Cons

Pros

Official Google Support

Jointly maintained by Google and HashiCorp engineering teams, ensuring high reliability, timely updates, and alignment with GCP's release cycles, as noted in the README.

Comprehensive GCP Coverage

Supports a wide range of GCP services including Compute Engine, Cloud Storage, and Kubernetes Engine, enabling full infrastructure-as-code management for most GCP needs.

Beta Feature Access

Offers a separate google-beta provider for accessing preview and beta GCP features, allowing early adoption while keeping stable configurations isolated.

State Management Integration

Integrates seamlessly with Terraform's state management to track resource states, ensuring consistency and predictability in infrastructure deployments.

Cons

Complex Contribution Process

Development is handled via magic-modules, meaning direct changes to this repository are overwritten, adding a layer of abstraction and slowing community contributions.

Manual Upgrade Requirement

The provider doesn't upgrade automatically; users must run 'terraform init -upgrade' to update, risking outdated installations and potential configuration drift if neglected.

Beta Provider Fragmentation

Using the separate google-beta provider can complicate configurations and increase maintenance overhead, especially when mixing stable and beta resources.

Steep Terraform Dependency

Requires full adoption of Terraform's ecosystem and learning curve, which may be overkill for teams with simpler infrastructure needs or existing non-Terraform toolchains.

Frequently Asked Questions

Quick Stats

Stars2,662
Forks1,915
Contributors0
Open Issues2,539
Last commit1 day ago
CreatedSince 2017

Tags

#devops-tools#terraform-provider#terraform#infrastructure-as-code#iac#google-cloud#hashicorp-ecosystem#cloud-provisioning#cloud-automation

Built With

T
Terraform
G
Go

Links & Resources

Website

Included in

Terraform6.3k
Auto-fetched 1 day ago

Related Projects

terraform-provider-awsterraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.

Stars11,118
Forks10,443
Last commit1 day ago
terraform-provider-azurermterraform-provider-azurerm

Terraform provider for Azure Resource Manager

Stars4,978
Forks5,064
Last commit1 day ago
terraform-provider-kubernetesterraform-provider-kubernetes

Terraform Kubernetes provider

Stars1,723
Forks1,069
Last commit3 days ago
terraform-provider-helmterraform-provider-helm

Terraform Helm provider

Stars1,076
Forks444
Last commit1 month ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub