gcp-wif-bootstrap

Generate Terraform and a GitHub Actions workflow to bootstrap GCP projects with Workload Identity Federation.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/edri2or/project-life-132 --skill gcp-wif-bootstrap
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gcp-wif-bootstrap
Source: https://github.com/edri2or/project-life-132/tree/main/exported-skills/gcp-wif-bootstrap
Command: npx skills add https://github.com/edri2or/project-life-132 --skill gcp-wif-bootstrap

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Terraform and GitHub Actions bootstrap skill automates the initial provisioning of a new GCP project by configuring Workload Identity Federation and Secret Manager, writing the infrastructure code, and wiring GitHub Secrets to enable secure CI/CD workflows, reducing manual setup and potential misconfigurations.

Core Features & Use Cases

  • Bootstraps a new GCP project with WIF and Secret Manager, including a Terraform backend, providers, and necessary IAM bindings.
  • Generates a GitHub Actions bootstrap workflow that initializes and applies the Terraform configuration, then exports critical outputs as GitHub Secrets.
  • Use cases include setting up secure GitHub Actions secret management for a fresh system, enforcing policy-as-code, and quickly bootstrapping multi-repo CI pipelines across new projects.

Quick Start

Run gcp-wif-bootstrap to automatically generate Terraform files, a bootstrap workflow, and GitHub Secrets for a new GCP project.

Frequently Asked Questions about gcp-wif-bootstrap

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bootstrap Workload Identity Federation and Secret Manager for a new GCP project?▼

To bootstrap Workload Identity Federation and Secret Manager, this automation generates Terraform configurations for IAM bindings and a GitHub Actions workflow that applies the infrastructure and exports critical outputs as repository secrets.

Can I use Terraform to automate GitHub Actions secrets provisioning for GCP?▼

Yes, Terraform automates GitHub Actions secrets provisioning by generating a bootstrap workflow that initializes and applies the infrastructure configuration, then securely wires the GCP outputs directly into your repository secrets.

What is the best way to automate secure CI/CD pipelines across multiple new GCP repositories?▼

Automating secure CI/CD pipelines across repositories requires configuring Workload Identity Federation. This skill quickly bootstraps multi-repo setups by generating the necessary Terraform IAM bindings and GitHub Actions workflows.

Do I need a GitHub repository with Actions capabilities to set up GCP Workload Identity Federation?▼

Yes, setting up GCP Workload Identity Federation requires a GitHub repository with Actions capabilities along with a Google Cloud project context and access to repository secrets to wire the necessary permissions.

Why use Workload Identity Federation instead of service account keys for GitHub Actions on GCP?▼

Workload Identity Federation provides secure access control without long-lived credentials. This automation enforces policy-as-code by generating Terraform IAM bindings, reducing manual setup and potential misconfigurations.

How does a GitHub Actions workflow apply Terraform to provision GCP Secret Manager?▼

A generated GitHub Actions bootstrap workflow applies Terraform to provision GCP Secret Manager by initializing the configuration, applying the infrastructure changes, and exporting the resulting critical outputs as GitHub Secrets.