Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

terraform-gcp

Skill by sickn33

Provisions Google Cloud infrastructure with Terraform using the hashicorp/google provider. Covers networking, GKE, Cloud SQL, IAM and CI/CD steps for platform and DevOps engineers.

  • Score 89
  • 50k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install terraform-gcp

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/terraform-gcp ~/.claude/skills/terraform-gcp

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install terraform-gcp in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The terraform-gcp skill gives an assistant a guide for defining Google Cloud Platform infrastructure as code with Terraform and the hashicorp/google provider. It covers provider and variable configuration, a remote state bucket in Cloud Storage, and a project setup step that enables required APIs. It also includes module examples for a VPC network, a GKE cluster, a Cloud SQL instance, and service accounts with IAM bindings.

The skill is written for teams that want repeatable, auditable deployments across dev, staging and production environments. It shows how to compose root modules, use tfvars files, and run plan and apply stages in CI/CD. The source notes that examples are partial, that generated passwords stay in state, and that state and plan files need protection. It is a documentation-only skill, and its helper scripts and templates are not bundled.

Written from the project's SKILL.md and checked against it.

What it can do

  • Provider configurationSets up the hashicorp/google and google-beta providers with a GCS backend and variables.
  • Project setup and state bucketCreates a versioned Cloud Storage bucket for Terraform state and enables required GCP APIs.
  • Networking moduleDefines a VPC, subnets with secondary ranges, IAP firewall rule, Cloud Router and Cloud NAT.
  • GKE cluster moduleDefines a private GKE cluster with Workload Identity, a node pool and autoscaling.
  • Cloud SQL moduleDefines a private PostgreSQL instance with backups, point-in-time recovery and SSL required.
  • IAM and service accountsCreates service accounts, project role bindings and a Workload Identity user binding.
  • Root module compositionShows how to wire the networking, GKE and database modules together with dependencies.
  • CI/CD integrationLists init, validate, fmt, plan, apply, import and state commands for pipelines.

What you need

  • Terraform 1.5 or newer
  • Google Cloud SDK or a service account key for CI
  • A GCP project with billing enabled
  • Privileged access where noted

Try asking

  • Write a Terraform VPC with private subnets and Cloud NAT for GCP
  • Create a private GKE cluster module with Workload Identity on GCP
  • Set up a GCS backend and enable the required APIs for my GCP project

Good to know

  • Generated passwords remain in state even with sensitive flags, so protect state and plan files.
  • Examples are partial and need complete variable declarations and subnet CIDRs before planning.
  • Private GKE nodes do not make the control plane private; endpoint access must be configured explicitly.
  • A force-new property cannot generally be fixed with state mv.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/terraform-gcp/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md13 KB

Alternatives to terraform-gcp

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

terraform-gcp: common questions

Are generated passwords safe in Terraform state?

The source says generated passwords remain in state despite sensitive flags. It advises protecting state and plan files.

Should CI use key files or workload identity?

The source says to prefer workload identity or short-lived CI credentials over service account key files.

Does this skill support CI/CD pipelines?

Yes. It includes a CI/CD section with init, validate, fmt check, plan with a saved plan file, and apply stages.

How do I install terraform-gcp?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is terraform-gcp free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is terraform-gcp safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to terraform-gcp?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

terraform-gcp Install

Add to stack

Loading.