From f120a30874d58da5c7d0760164654765025f8d5f Mon Sep 17 00:00:00 2001 From: "Omansh Barnwal (BEYONDSOFT CONSULTING INDIA PRIVATE)" Date: Fri, 7 Aug 2026 14:43:56 +0530 Subject: [PATCH] Fix Bug #4195: render empty subscription arrays correctly --- modules/file_manipulation/locals.bicep.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/file_manipulation/locals.bicep.tf b/modules/file_manipulation/locals.bicep.tf index 7ebaaf38..904548da 100644 --- a/modules/file_manipulation/locals.bicep.tf +++ b/modules/file_manipulation/locals.bicep.tf @@ -27,7 +27,7 @@ locals { bicep_module_files_templated = { for key, value in local.bicep_module_files_prepped_for_templating : key => { - content = replace(templatestring(value.content, local.bicep_module_file_replacements), "$$${", "$${") + content = replace(replace(templatestring(value.content, local.bicep_module_file_replacements), "subscriptionsToPlaceInManagementGroup: ['']", "subscriptionsToPlaceInManagementGroup: []"), "$$${", "$${") } }