Resolve review comments

This commit is contained in:
Wiktor Niesiobędzki 2023-03-27 08:06:56 +00:00 committed by Wiktor Niesiobędzki
parent 082301c09c
commit d105ed59d3
1 changed files with 1 additions and 1 deletions

View File

@ -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
}