File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ param logAnalyticsWorkspaceName string
1111param applicationInsightsName string = ''
1212param daprEnabled bool = false
1313
14+ var containerRegistryResourceGroupEvaluated = !empty (containerRegistryResourceGroupName ) ? resourceGroup (containerRegistryResourceGroupName ) : resourceGroup ()
15+
1416module containerAppsEnvironment 'container-apps-environment.bicep' = {
1517 name : '${name }-container-apps-environment'
1618 params : {
@@ -25,7 +27,7 @@ module containerAppsEnvironment 'container-apps-environment.bicep' = {
2527
2628module containerRegistry 'container-registry.bicep' = {
2729 name : '${name }-container-registry'
28- scope : ! empty ( containerRegistryResourceGroupName ) ? resourceGroup ( containerRegistryResourceGroupName ) : resourceGroup ()
30+ scope : containerRegistryResourceGroupEvaluated
2931 params : {
3032 name : containerRegistryName
3133 location : location
You can’t perform that action at this time.
0 commit comments