terraform-gcp

terraform-gcp is a skill for Claude Code from jpantsjoha/googlecloud-plugin. It costs 90 tokens per session (752 once invoked), scanned A, original, MIT.

A set of Terraform patterns for creating and managing Google Cloud infrastructure. Terraform is a tool that describes infrastructure in code, while the Cloud Foundation Toolkit provides reusable Google Cloud building blocks.

In plain words
What is it for?
It helps define Google Cloud projects, networks, and GKE clusters, manage separate environments, and use the official Google providers. It also guides safe use of terraform plan and terraform apply.
Why use it?
It provides guidance for organizing projects, storing Terraform state, managing access permissions, and checking planned changes before they may create costs or destroy resources.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the googlecloud-plugin plugin — 20 skills, 1 hook, 2 MCP servers shipped together

Good fit It helps define Google Cloud projects, networks, and GKE clusters, manage separate environments, and use the official Google providers. It also guides safe use of terraform plan and terraform apply.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jpantsjoha/googlecloud-plugin/terraform-gcp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jpantsjoha/googlecloud-plugin --skill terraform-gcp
Clone the repo
git clone --depth 1 https://github.com/jpantsjoha/googlecloud-plugin

Made for: Claude Code.

Or install googlecloud-plugin, the plugin that ships this one along with the rest of its 20 skills, 1 hook, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for terraform-gcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/jpantsjoha/googlecloud-plugin/terraform-gcp/github.svg)](https://agentmods.dev/skills/jpantsjoha/googlecloud-plugin/terraform-gcp)
Your own site
<a href="https://agentmods.dev/skills/jpantsjoha/googlecloud-plugin/terraform-gcp"><img src="https://agentmods.dev/badge/skills/jpantsjoha/googlecloud-plugin/terraform-gcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for terraform-gcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/jpantsjoha/googlecloud-plugin/terraform-gcp"><img src="https://agentmods.dev/badge/skills/jpantsjoha/googlecloud-plugin/terraform-gcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 752 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.00752
Opus 5.5 $0.00036 $0.00301
Sonnet 5.5 $0.00018 $0.00150
Haiku 4.5 $0.00009 $0.00075

Measured 3mo ago against content hash b0622c69e128, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

terraform-gcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/terraform-gcp/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Terraform — GCP

Infrastructure as Code for Google Cloud using the official Terraform provider and Cloud Foundation Toolkit (CFT).

Safety Rule — Plan Before Apply

# Always plan first
terraform plan -out=tfplan

# Review the plan — look for unexpected destroys
# Only apply after confirming no unexpected changes
terraform apply tfplan

Provider Setup

terraform {
  required_providers {
    google = {
      source  = "hashicorp/google"
      version = "~> 6.0"
    }
  }
  backend "gcs" {
    bucket = "PROJECT_ID-tfstate"
    prefix = "env/prod"
  }
}

provider "google" {
  project = var.project_id
  region  = var.region
}
# Example: GKE cluster via CFT module
module "gke" {
  source  = "terraform-google-modules/kubernetes-engine/google//modules/autopilot-cluster"
  version = "~> 33.0"

  project_id = var.project_id
  name       = "my-cluster"
  region     = var.region
  network    = module.vpc.network_name
  subnetwork = module.vpc.subnets_names[0]
}

State Management

  • State in GCS bucket (not local, not git)
  • One state file per environment (env/dev, env/staging, env/prod)
  • Bucket versioning enabled for state rollback
  • State lock via GCS object versioning (built in to google backend)

Module Structure (project convention)

infra/
├── modules/           # Reusable modules
│   └── service/
│       ├── main.tf
│       ├── variables.tf
│       └── outputs.tf
├── environments/
│   ├── dev/
│   │   ├── main.tf    # Calls modules
│   │   └── terraform.tfvars
│   └── prod/
│       ├── main.tf
│       └── terraform.tfvars
└── backend.tf

References

Read the full file on GitHub · 97 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 97 lines · 90 tokens per session scan A b0622c69e128

Subscribe to this mod's changes

terraform-gcp is a skill published in the GitHub repository jpantsjoha/googlecloud-plugin (4 stars, last pushed 17d ago), licensed MIT. It adds 90 tokens to every session and 752 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

terraform-gcp compared with skills from other repositories

terraform-gcp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
terraform-gcpjpantsjoha/googlecloud-pluginSkill417d agoMITA90Claude Code
ak-cloud-deployyaalalabs/agent-kernelSkill195todayApache-2.0A204Claude Code, Codex
vercel-deployPrompthon-IO/agent-systems-handbookSkill3151mo agononeA54Codex
qzcliraja21068/AutoResearchSkill26mo agoMITA82Claude Code
wranglerariffazil/AAASkill028d agoAGPL-3.0A75Claude Code, Codex
agents-sdkariffazil/AAASkill028d agoAGPL-3.0A87Claude Code, Codex
serving-llms-vllmariffazil/AAASkill028d agoAGPL-3.0A27Claude Code, Codex