Skip to content

Commit 5f3ec72

Browse files
author
Dany Contreras
committed
updates
1 parent 85e7205 commit 5f3ec72

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

workload/arm/deploy-baseline.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"_generator": {
66
"name": "bicep",
77
"version": "0.33.93.31351",
8-
"templateHash": "5127540398771268904"
8+
"templateHash": "9826152848146163813"
99
},
1010
"name": "AVD Accelerator - Baseline Deployment",
1111
"description": "AVD Accelerator - Deployment Baseline",
@@ -8613,9 +8613,7 @@
86138613
"value": "[parameters('avdHostPoolType')]"
86148614
},
86158615
"preferredAppGroupType": "[if(equals(parameters('hostPoolPreferredAppGroupType'), 'RemoteApp'), createObject('value', 'RailApplications'), createObject('value', 'Desktop'))]",
8616-
"deployScalingPlan": {
8617-
"value": "[variables('varDeployScalingPlan')]"
8618-
},
8616+
"deployScalingPlan": "[if(not(empty(parameters('avdEnterpriseAppObjectId'))), createObject('value', variables('varDeployScalingPlan')), createObject('value', false()))]",
86198617
"scalingPlanExclusionTag": {
86208618
"value": "[variables('varScalingPlanExclusionTag')]"
86218619
},

workload/bicep/deploy-baseline.bicep

+1-1
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ module managementPLane './modules/avdManagementPlane/deploy.bicep' = {
10961096
hostPoolLoadBalancerType: avdHostPoolLoadBalancerType
10971097
hostPoolType: avdHostPoolType
10981098
preferredAppGroupType: (hostPoolPreferredAppGroupType == 'RemoteApp') ? 'RailApplications' : 'Desktop'
1099-
deployScalingPlan: varDeployScalingPlan
1099+
deployScalingPlan: !empty(avdEnterpriseAppObjectId) ? varDeployScalingPlan : false
11001100
scalingPlanExclusionTag: varScalingPlanExclusionTag
11011101
scalingPlanSchedules: (avdHostPoolType == 'Pooled')
11021102
? varPooledScalingPlanSchedules

0 commit comments

Comments
 (0)