GCP Pub/Sub with Cloud Run Subscriber
Build an event-driven system with Pub/Sub messaging and Cloud Run subscribers
Blueprint Steps
Expand the steps below to customize
1
Terraform Module
Pub/Sub Topic with DLQ Module
Custom Module4 requirements
4 requirements
Module Name
Module Source
Public Registry
Custom Module
Requirements
Pub/Sub Topic with DLQ Module
Custom Module
4 requirements
2
Terraform Module
Cloud Run Subscriber Module
Custom Module4 requirements
4 requirements
Module Name
Module Source
Public Registry
Custom Module
Requirements
Cloud Run Subscriber Module
Custom Module
4 requirements
3
Terraform Environment
Event Processing System
small scalegcs backend GCP project ID not configured
small scale
GCP project ID not configuredgcs backend
Environment Name
Scale
GCP Project ID GCP project ID not configured
Region
State Backend
State BucketState Prefix
Requirements
GCP project ID not configured
Event Processing System
small scale
GCP project ID not configuredgcs backend
4
GitHub Actions
Event Processing CI/CD Pipeline
.github/workflows/deploy-event-processor.yml6 steps
6 steps
Workflow Name
Workflow Steps
Event Processing CI/CD Pipeline
.github/workflows/deploy-event-processor.yml
6 steps
GCP project ID not configuredPlaceholder values will be used
Attach Source Code (Optional)
Blueprint Overview
Cost
$10-30/month
Setup Time
2-3 minutes
Technologies
Pub/Sub
Cloud Run
IAM
Cloud Monitoring
Terraform
What You'll Build
This blueprint creates a scalable event-driven architecture using Google Cloud Pub/Sub for message queuing and Cloud Run for serverless message processing. Includes topic and subscription configuration, dead letter topic for failed messages, Cloud Run service with Pub/Sub push subscription, automatic scaling, and proper IAM permissions. Perfect for asynchronous processing, event streaming, and decoupled microservices.