From fee501e28fbdd1fae9949f0c3977943881d5ad49 Mon Sep 17 00:00:00 2001 From: Junaid Ahmed Date: Sat, 25 Apr 2026 16:07:08 +0100 Subject: [PATCH] fix(shehryar): bootstrap Cloud Run with placeholder image The previous apply failed because the shehryar-api image isn't yet pushed to Artifact Registry. Use the public cloudrun/hello image as a bootstrap placeholder; once the shehryar repo's CI/CD pushes the real image and runs gcloud run deploy, lifecycle.ignore_changes prevents terraform from reverting back to the placeholder. Unblocks all future firebase-cloud applies. --- terraform/apps/shehryar.tf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/terraform/apps/shehryar.tf b/terraform/apps/shehryar.tf index e719824..e98fce8 100644 --- a/terraform/apps/shehryar.tf +++ b/terraform/apps/shehryar.tf @@ -86,7 +86,10 @@ resource "google_cloud_run_v2_service" "shehryar_api" { } containers { - image = "${var.region}-docker.pkg.dev/${var.project_id}/firebase-cloud/shehryar-api:latest" + # Bootstrap placeholder. The shehryar repo's CI/CD pushes the real + # image and runs `gcloud run deploy --image=...` to swap it in. + # lifecycle.ignore_changes below prevents terraform from reverting. + image = "gcr.io/cloudrun/hello" resources { limits = {