/cloud-skills:gcp-landing-zone-setupfrom cloud-skills
Guides designing and implementing a GCP landing zone with folder hierarchy, Organization Policy constraints, VPC Service Controls, and project vending aligned to Google's enterprise foundation blueprint.
Ships in cloud-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
GCP's isolation boundary is the project — cheap to create, billed independently, but with no inherent hierarchy unless one is imposed through Resource Manager folders. Without a landing zone, organizations accumulate hundreds of ungoverned projects with inconsistent Organization Policies, no shared VPC, and IAM bindings granted directly at the project level with no audit trail of why. This skill defines a landing zone aligned to Google's enterprise foundations blueprint: a folder hierarchy that encodes environment and business-unit boundaries, Organization Policy constraints enforced top-down, Shared VPC for centralized networking, and a repeatable project-vending factory — so new projects are compliant and network-connected the moment they're created.
terraform-google-modules/project-factory).roles/resourcemanager.organizationAdmin) or
equivalent custom role at the Organization node to create folders and
Organization Policies.gcloud CLI ≥ 470.0.0 and Terraform ≥ 1.5 with the google /
google-beta providers ≥ 5.x if using IaC — the project-factory and
folder modules track provider versions closely; pin them.roles/billing.user at minimum).Design the folder hierarchy before creating any project. The enterprise foundations blueprint default:
Organization
├── fldr-bootstrap (seed project, Terraform state buckets)
├── fldr-common (shared services: CI/CD, artifact registry)
├── fldr-network (Shared VPC host projects, Cloud NAT/Interconnect)
├── fldr-production
│ ├── prj-checkout-prod
│ └── prj-payments-prod
├── fldr-non-production
│ ├── prj-checkout-dev
│ └── prj-payments-staging
└── fldr-development (individual/sandbox projects)
Keep fldr-production and fldr-non-production as separate top-level
folders (not nested under a single "workloads" folder) so Organization
Policies that must differ between environments (e.g. allowed regions,
OS Login enforcement) attach cleanly without complex conditions.
Create the folder hierarchy with Terraform:
resource "google_folder" "production" {
display_name = "fldr-production"
parent = "organizations/<ORG_ID>"
}
resource "google_folder" "checkout_prod_parent" {
display_name = "fldr-checkout"
parent = google_folder.production.name
}
Apply Organization Policy constraints at the folder level. Example — restrict resource locations and disable default service account broad roles:
resource "google_org_policy_policy" "resource_locations" {
name = "folders/${google_folder.production.folder_id}/policies/gcp.resourceLocations"
parent = google_folder.production.name
spec {
rules {
values {
allowed_values = ["in:us-locations", "in:eu-locations"]
}
}
}
}
resource "google_org_policy_policy" "disable_sa_key_creation" {
name = "organizations/<ORG_ID>/policies/iam.disableServiceAccountKeyCreation"
parent = "organizations/<ORG_ID>"
spec {
rules { enforce = "TRUE" }
}
}
Set iam.disableServiceAccountKeyCreation and
iam.disableServiceAccountKeyUpload at the Organization node —
long-lived service account keys are one of the most common GCP
credential-leak vectors, and Workload Identity Federation (see
cloud-iam-hardening) removes the need for them almost entirely.
Vend projects through a project factory, not manual gcloud projects create, so every project lands in the correct folder,
attaches to the correct billing account, enables the required APIs,
and attaches to Shared VPC automatically:
module "checkout_prod_project" {
source = "terraform-google-modules/project-factory/google"
version = "~> 17.0"
name = "prj-checkout-prod"
org_id = "<ORG_ID>"
folder_id = google_folder.checkout_prod_parent.folder_id
billing_account = "<BILLING_ACCOUNT_ID>"
activate_apis = ["compute.googleapis.com", "run.googleapis.com"]
svpc_host_project_id = "prj-net-host-prod"
}
Stand up the Shared VPC host project first in fldr-network,
with Cloud NAT, Cloud Interconnect/VPN, and Private Google Access
configured, then attach service projects (prj-checkout-prod, etc.)
as they're vended — sequencing host-before-service avoids retrofitting
subnet/IAM attachment later.
Enable an organization-wide log sink to a centralized project
(fldr-common) using an aggregated log sink at the Organization node,
so every project's Admin Activity and Data Access audit logs land in
one place regardless of which folder the project sits in:
gcloud logging sinks create org-audit-sink \
bigquery.googleapis.com/projects/prj-logging/datasets/audit_logs \
--organization=<ORG_ID> --include-children \
--log-filter='logName:"logs/cloudaudit.googleapis.com"'
Layer VPC Service Controls around sensitive data projects (e.g. those holding customer PII in BigQuery/Cloud Storage) as a perimeter that blocks data exfiltration even if IAM is misconfigured — this is GCP's closest analog to network-layer guardrails for managed services and has no direct AWS/Azure equivalent, so budget separate design time for it.
Validate with a canary project: vend one throwaway project through
the factory, confirm Organization Policy constraints show as enforced
(gcloud resource-manager org-policies describe), Shared VPC
attachment succeeded, and the aggregated log sink captured its audit
logs, then delete it.
group:[email protected]), not individual users or
project-level bindings, so access review is one place per team.cloud-iam-hardening for the
detailed pattern.Symptom: A new project's Terraform apply succeeds, but IAM bindings
for the team's Google Group never take effect.
Fix: The Google Group wasn't created (or wasn't yet propagated in
Cloud Identity) before the project-factory module ran. Groups must
exist before referencing them in google_project_iam_member —
otherwise the API call silently no-ops or errors depending on provider
version. Create groups in a separate, earlier Terraform apply or via
Workspace Admin API first.
Symptom: Default compute service account has Editor role on every
new project, discovered during a security review months later.
Fix: GCP auto-grants the Compute Engine default service account
roles/editor unless the iam.automaticIamGrantsForDefaultServiceAccounts
Organization Policy constraint is enforced. Set that constraint at the
Organization node before vending any projects, and remediate existing
projects by explicitly removing the binding and granting narrower
custom roles.
Symptom: A workload team's project can't reach the internet, and Cloud NAT logs show nothing. Fix: The service project was attached to Shared VPC but no Cloud NAT gateway exists in the subnet's region in the host project — Shared VPC attachment does not include NAT by default. Provision a Cloud NAT gateway per region in the host project, not per service project.
Symptom: Billing spikes in fldr-development sandbox projects with
no clear owner.
Fix: No project-level budget alert or lifecycle policy was attached
at vend time. Add a Cloud Billing budget with a Pub/Sub notification
and an automated (human-approved) project-shutdown Cloud Function for
the development folder specifically — never automate deletion of
production-folder projects the same way.
Scenario: A media company has a handful of ungoverned GCP projects created ad hoc by individual engineers and wants a real landing zone before launching a new streaming analytics product.
fldr-bootstrap, fldr-common, fldr-network, fldr-production,
fldr-non-production, fldr-development.fldr-development temporarily
and tag them for review/decommission.iam.disableServiceAccountKeyCreation and
iam.automaticIamGrantsForDefaultServiceAccounts (disabled) at the
Organization node.prj-net-host-prod in fldr-network with Shared VPC, Cloud
NAT, and Private Google Access enabled.prj-streaming-analytics-prod into
fldr-production and prj-streaming-analytics-dev into
fldr-non-production, both attaching to the Shared VPC host and
inheriting the region-restriction Organization Policy.group:[email protected] as roles/editor on the dev
project and a narrower custom role on the prod project.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub selvarajmurugesan90/ops-engineering-skills --plugin cloud-skills14 skills in this plugin
/aws-landing-zone-setupGuides designing and implementing a multi-account AWS landing zone using AWS Organizations, Control Tower, and Account Factory — including the account/OU hierarchy, Service Control Policies, centralized logging, and baseline guardrails. Use when a user asks to "set up a new AWS account structure", "design an AWS landing zone", "implement AWS Control Tower", "create OUs and SCPs", "bootstrap a multi-account AWS environment", or "onboard a new AWS account into our organization".
/azure-landing-zone-setupGuides designing and implementing an Azure landing zone using Management Groups, subscription democratization, Azure Policy, and the Cloud Adoption Framework (CAF) Landing Zone Accelerator pattern. Use when a user asks to "design an Azure landing zone", "set up Management Groups and subscriptions", "implement Azure Policy guardrails", "onboard a new Azure subscription", "structure our Azure tenant", or "migrate to the CAF enterprise-scale landing zone".
/cloud-access-request-and-iam-lifecycle-managementHandles the everyday operational request to grant, time-box, and later revoke a scoped IAM permission for a contractor, new hire, or a temporary need (e.g. "give the new contractor read-only S3 access for 30 days," "grant break-fix access to prod for this incident," "revoke Priya's access, she left the team," "why does this access request keep getting rejected") — including expiry enforcement and the audit trail a security review will ask for. Use for a single access grant/revoke transaction, not for designing the underlying IAM policy/role structure (see cloud-iam-hardening for that).
Other plugins' skills for the same job