From 1f694d2014648939e282873d89b49938743e5f7c Mon Sep 17 00:00:00 2001 From: cleentfaar Date: Wed, 11 Dec 2024 12:46:38 +0100 Subject: [PATCH] path fix? --- terraform/bigquery_scheduled_data_transfer/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/bigquery_scheduled_data_transfer/main.tf b/terraform/bigquery_scheduled_data_transfer/main.tf index 74f5d27..e657d26 100644 --- a/terraform/bigquery_scheduled_data_transfer/main.tf +++ b/terraform/bigquery_scheduled_data_transfer/main.tf @@ -25,7 +25,7 @@ resource "google_bigquery_data_transfer_config" "default" { params = { destination_table_name_template = var.destination_table_name_template query = templatefile( - "scheduled_query_with_labels.sql", + "${path.module}/scheduled_query_with_labels.sql", { LABELS_STRING = join("\n", [for key, value in var.labels : format("SET @@query_label = \"%s:%s\";", key, value)]) ORIGINAL_QUERY = templatefile(