From 3efa497916b266f96b920706affab9de19c14865 Mon Sep 17 00:00:00 2001 From: Lyle Xu Date: Fri, 1 Mar 2024 11:40:46 +0800 Subject: [PATCH] update container registry name --- Environments/Todo-Mongo-ACA/main.bicep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Environments/Todo-Mongo-ACA/main.bicep b/Environments/Todo-Mongo-ACA/main.bicep index bf0b94cb..99ce83c7 100644 --- a/Environments/Todo-Mongo-ACA/main.bicep +++ b/Environments/Todo-Mongo-ACA/main.bicep @@ -80,7 +80,7 @@ module api './app/api.bicep' = { module containerRegistry './core/host/container-registry.bicep' = { name: 'app-container-registry' params: { - name: containerRegistryName + name: !empty(containerRegistryName) ? containerRegistryName : '${abbrs.containerRegistryRegistries}${resourceToken}' location: location adminUserEnabled: containerRegistryAdminUserEnabled tags: tags