We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee13a5a commit b94144cCopy full SHA for b94144c
infra/batch/main.tf
@@ -212,6 +212,7 @@ resource "google_datastore_index" "batch_execution_index_execution_id_timestamp"
212
name = "execution_id"
213
direction = "ASCENDING"
214
}
215
+
216
properties {
217
name = "timestamp"
218
@@ -304,7 +305,7 @@ resource "google_cloud_run_service_iam_member" "cloud_run_invoker" {
304
305
resource "google_cloud_scheduler_job" "job" {
306
name = "${var.job_name}-${var.environment}"
307
description = "Batch job to process datasets"
- schedule = var.job_schedule
308
+ schedule = "0 0 * * *" # Runs daily at midnight UTC
309
time_zone = "Etc/UTC"
310
attempt_deadline = var.job_attempt_deadline
311
paused = var.environment == "prod" ? false : true
0 commit comments