Skip to content

Commit

Permalink
tweaked formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cleentfaar committed Dec 11, 2024
1 parent 1f694d2 commit fd1a2d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/bigquery_scheduled_data_transfer/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resource "google_bigquery_data_transfer_config" "default" {
query = templatefile(
"${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)])
LABELS_STRING = join("", [for key, value in var.labels : format("SET @@query_label = \"%s:%s\";\n", key, value)])
ORIGINAL_QUERY = templatefile(
var.query_template,
merge(var.query_variables, { interval = try(local.bigquery_interval_mappings[var.interval], var.interval) })
Expand Down

0 comments on commit fd1a2d7

Please sign in to comment.