cloud-foundation-fabric

MUST USE when building or modifying Google Cloud infrastructure with Cloud Foundation Fabric Terraform modules. Covers selecting CFF modules, wiring inputs and outputs, applying versioning and repository conventions, and composing Google Cloud architectures on top of Fabric. Do NOT use for generic Terraform work outside Cloud Foundation Fabric or for manual Google Cloud console setup unless the task explicitly depends on CFF.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "cloud-foundation-fabric" with this command: npx skills add benjaminwestern/google-engineer-skills/benjaminwestern-google-engineer-skills-cloud-foundation-fabric

Cloud Foundation Fabric (CFF)

Overview

Cloud Foundation Fabric is a comprehensive suite of Terraform modules and end-to-end blueprints designed for Google Cloud Platform (GCP). It provides:

  1. Modules: A library of composable, production-ready Terraform modules (e.g., project, net-vpc, gke-cluster)
  2. FAST: An opinionated, stage-based landing zone toolkit for bootstrapping enterprise-grade GCP organizations

Repository: https://github.com/GoogleCloudPlatform/cloud-foundation-fabric
Latest Version: v53.0.0 (as of February 2025)

Module Usage Pattern

ALWAYS pin modules to a tagged release to ensure stability:

module "project" {
  source  = "github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/project?ref=v53.0.0"
  name    = "my-project"
  # ... other configuration
}

Version Reference

VersionRelease DateStatus
v53.0.02025-02-12Latest
v52.1.02025-02-12Stable
v52.0.02025-01-31Stable

Quick Examples

Project with APIs and IAM

module "project" {
  source  = "github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/project?ref=v53.0.0"
  name    = "my-application"
  parent  = "folders/1234567890"
  
  services = [
    "compute.googleapis.com",
    "container.googleapis.com",
    "logging.googleapis.com",
  ]
  
  iam = {
    "roles/viewer" = ["group:developers@example.com"]
    "roles/editor" = ["serviceAccount:ci-cd@my-project.iam.gserviceaccount.com"]
  }
}

VPC with Subnets

module "vpc" {
  source  = "github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/net-vpc?ref=v53.0.0"
  project_id = module.project.project_id
  name    = "production-vpc"
  
  subnets = [
    {
      name          = "subnet-1"
      region        = "us-central1"
      ip_cidr_range = "10.0.0.0/24"
    },
    {
      name          = "subnet-2"
      region        = "europe-west1"
      ip_cidr_range = "10.0.1.0/24"
    }
  ]
}

GKE Autopilot Cluster

module "gke" {
  source  = "github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/gke-cluster-autopilot?ref=v53.0.0"
  project_id = module.project.project_id
  name    = "main-cluster"
  location = "us-central1"
  
  vpc_config = {
    network    = module.vpc.self_link
    subnetwork = module.vpc.subnet_self_links["us-central1/subnet-1"]
  }
}

Reference Documentation

For detailed information, see the following reference guides:

Common Patterns

IAM Interface

Most modules support consistent IAM patterns:

iam = {
  "roles/viewer" = ["user:user@example.com"]
  "roles/editor" = ["group:group@example.com"]
}

No Random Suffixes

Use explicit prefix instead of random suffixes:

module "project" {
  source = "github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/project?ref=v53.0.0"
  name   = "application"
  prefix = "prod"  # Creates: prod-application
}

Key Files

FilePurpose
CURSED_KNOWLEDGE.mdEdge cases and gotchas
FACTORIES.mdFactory patterns documentation
CONTRIBUTING.mdDevelopment guidelines
GEMINI.mdAI assistant context
CHANGELOG.mdRelease history

External References

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

duckdb

No summary provided by upstream source.

Repository SourceNeeds Review
General

charm-vhs

No summary provided by upstream source.

Repository SourceNeeds Review
General

terminal-ui-engineer

No summary provided by upstream source.

Repository SourceNeeds Review
General

skill-registry-sync

No summary provided by upstream source.

Repository SourceNeeds Review
cloud-foundation-fabric | V50.AI