deployment-gcp-cloud-run-setup

Provision GCP Cloud Run, Firestore, Pub/Sub, and Workflows with Terraform.

Updated Oct 27, 2025
One-click install
npx skills add https://github.com/mariotoffia/gobridge --skill deployment-gcp-cloud-run-setup
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: deployment-gcp-cloud-run-setup
Source: https://github.com/mariotoffia/gobridge/tree/main/.cursor/skills/deployment-gcp-cloud-run-setup
Command: npx skills add https://github.com/mariotoffia/gobridge --skill deployment-gcp-cloud-run-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides teams through provisioning a complete GCP Cloud Run deployment using Terraform, tying together Cloud Run, Firestore, Pub/Sub, and Workflows for scalable, production-grade infrastructure.

Core Features & Use Cases

  • Infrastructure as Code: Terraform modules for Cloud Run, Firestore, Pub/Sub, and Workflows.
  • Environment-specific configurations: dev/staging/prod with canary deployments using traffic splitting.
  • End-to-end deployment workflow: from code to production with a Makefile integration.

Quick Start

Run the deployment for a dev environment using the Makefile: make deploy STAGE=dev. This will provision Cloud Run resources, Firestore, Pub/Sub, and Workflows and deploy the service.

Frequently Asked Questions about deployment-gcp-cloud-run-setup

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

FAQPage Schema
How do I deploy a GCP Cloud Run service with Terraform across multiple environments?▼

You can provision a production-grade GCP Cloud Run deployment using Terraform modules that segment dev, staging, and prod environments. The deployment is executed end-to-end via a Makefile, applying configurations for Cloud Run, Firestore, Pub/Sub, and Workflows.

Can I manage Firestore and Pub/Sub infrastructure as code alongside Cloud Run?▼

Yes, managing Firestore and Pub/Sub as code is supported through dedicated Terraform modules. This ties together Firestore, Pub/Sub, and Workflows with Cloud Run to provision a complete, scalable, and production-grade GCP infrastructure setup.

What is the best way to configure canary deployments for Cloud Run using Terraform?▼

The best way to configure canary deployments for Cloud Run is using environment-specific Terraform configurations that support traffic splitting. This allows you to route a portion of traffic to new versions across dev, staging, and prod environments.

How do I bootstrap GCP Cloud Run infrastructure with a Makefile and Terraform?▼

You can bootstrap GCP Cloud Run infrastructure by running the command 'make deploy STAGE=dev' in the Makefile. This triggers the Terraform scripts to provision Cloud Run resources, Firestore, Pub/Sub, and Workflows for the specified environment.

Does this Terraform setup support end-to-end deployment workflows for GCP Workflows?▼

Yes, the Terraform setup supports end-to-end deployment workflows that include GCP Workflows. It applies infrastructure as code to provision and integrate Workflows alongside Cloud Run, Firestore, and Pub/Sub for a complete deployment.

Do I need separate Terraform modules for each GCP service in a Cloud Run deployment?▼

You need dedicated Terraform modules for each service to properly bootstrap the infrastructure. The setup provides specific modules for Cloud Run, Firestore, Pub/Sub, and Workflows to ensure scalable and production-grade environment segmentation.