From 9fd868a9df8e418262e35f1ea9c17f07ebded20b Mon Sep 17 00:00:00 2001 From: Max Ostapenko <1611259+max-ostapenko@users.noreply.github.com> Date: Mon, 9 Dec 2024 11:56:14 +0100 Subject: [PATCH] cleanup for test merge --- includes/constants.js | 2 +- infra/tf/function_dataform_export.tf | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/includes/constants.js b/includes/constants.js index cbba9b5..0119cb8 100644 --- a/includes/constants.js +++ b/includes/constants.js @@ -1,5 +1,5 @@ const today = (dataform.projectConfig.vars.today ? dataform.projectConfig.vars.today : new Date().toISOString()).substring(0, 10) -const currentMonth = '2024-11-01' // TODO: today.substring(0, 8) + '01' +const currentMonth = today.substring(0, 8) + '01' function fnDateUnderscored (dateStr) { return dateStr.replaceAll('-', '_') } diff --git a/infra/tf/function_dataform_export.tf b/infra/tf/function_dataform_export.tf index b26741d..a2a9293 100644 --- a/infra/tf/function_dataform_export.tf +++ b/infra/tf/function_dataform_export.tf @@ -41,14 +41,13 @@ resource "google_pubsub_topic" "bigquery_data_updated" { } # Logs sink for Dataform triggers -# TODO change dataform_repository_id to PROD resource "google_logging_project_sink" "dataform_export_triggers" { name = "dataform-export-triggers" destination = "pubsub.googleapis.com/projects/${local.project}/topics/bigquery-data-updated" filter = <