Skip to content

Commit

Permalink
recreate slack members etl job but paused for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffwecan committed Feb 17, 2024
1 parent 697f10e commit f4563e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terraform/scheduler.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ locals {
run_slack_members_etl = {
description = "Sync Slack member / user data into local digital membership database"
schedule = "0 */6 * * *"
paused = true
data = {
type = "run_slack_members_etl",
}
Expand All @@ -22,6 +23,7 @@ resource "google_cloud_scheduler_job" "worker" {
name = each.key
description = each.value.description
schedule = each.value.schedule
paused = lookup(each.value, "paused", false)

pubsub_target {
topic_name = google_pubsub_topic.digital_membership.id
Expand Down

0 comments on commit f4563e4

Please sign in to comment.