From f6010d57ac1fb0affae73fa2af699e2e9d130f92 Mon Sep 17 00:00:00 2001 From: James Kwon <96548424+hongil0316@users.noreply.github.com> Date: Thu, 2 Jan 2025 16:20:46 -0500 Subject: [PATCH] Change cloud-scheduler name to respect environment for node-pack-extract --- infrastructure/prod/main.tf | 3 ++- infrastructure/staging/main.tf | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/infrastructure/prod/main.tf b/infrastructure/prod/main.tf index f181852..1503f04 100644 --- a/infrastructure/prod/main.tf +++ b/infrastructure/prod/main.tf @@ -13,7 +13,7 @@ provider "google" { } module "node_pack_extract_trigger" { - source = "../modules/node-pack-extract-trigger" + source = "../modules/node-pack-extract-trigger" providers = { google = google } @@ -23,4 +23,5 @@ module "node_pack_extract_trigger" { cloud_build_service_account = "cloud-scheduler@dreamboothy.iam.gserviceaccount.com" topic_name = "comfy-registry-event" registry_backend_url = "https://api.comfy.org" + backfill_job_name = "comfy-node-pack-backfill" } diff --git a/infrastructure/staging/main.tf b/infrastructure/staging/main.tf index 9db9187..29c17b4 100644 --- a/infrastructure/staging/main.tf +++ b/infrastructure/staging/main.tf @@ -13,7 +13,7 @@ provider "google" { } module "node_pack_extract_trigger" { - source = "../modules/node-pack-extract-trigger" + source = "../modules/node-pack-extract-trigger" providers = { google = google } @@ -23,4 +23,5 @@ module "node_pack_extract_trigger" { cloud_build_service_account = "cloud-scheduler@dreamboothy.iam.gserviceaccount.com" topic_name = "comfy-registry-event-staging" registry_backend_url = "https://stagingapi.comfy.org" + backfill_job_name = "comfy-node-pack-backfill-staging" }