From d105ed59d3d2e3ce41f2c13a3dc075dfd601faff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wiktor=20Niesiob=C4=99dzki?= Date: Mon, 27 Mar 2023 08:06:56 +0000 Subject: [PATCH] Resolve review comments --- modules/cloud-function/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cloud-function/main.tf b/modules/cloud-function/main.tf index 708622343..b5a861b2a 100644 --- a/modules/cloud-function/main.tf +++ b/modules/cloud-function/main.tf @@ -267,7 +267,7 @@ resource "google_storage_bucket_object" "bundle" { data "archive_file" "bundle" { type = "zip" source_dir = var.bundle_config.source_dir - output_path = var.bundle_config.output_path != null ? var.bundle_config.output_path : "/tmp/bundle-${var.project_id}-${var.name}.zip" + output_path = coalesce(var.bundle_config.output_path, "/tmp/bundle-${var.project_id}-${var.name}.zip") output_file_mode = "0644" excludes = var.bundle_config.excludes }