feat: Allow empty prefix for project_factory buckets (#3575)
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
This commit is contained in:
@@ -36,11 +36,11 @@ locals {
|
||||
labels = lookup(opts, "labels", {})
|
||||
location = lookup(opts, "location", null)
|
||||
managed_folders = lookup(opts, "managed_folders", {})
|
||||
prefix = coalesce(
|
||||
prefix = try(coalesce(
|
||||
local.data_defaults.overrides.prefix,
|
||||
try(v.prefix, null),
|
||||
local.data_defaults.defaults.prefix
|
||||
)
|
||||
), null)
|
||||
storage_class = lookup(
|
||||
opts, "storage_class", "STANDARD"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user