Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Dany Contreras committed Mar 4, 2025
1 parent 123f726 commit 6d33653
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions workload/arm/deploy-baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_generator": {
"name": "bicep",
"version": "0.33.93.31351",
"templateHash": "806133170511948426"
"templateHash": "4093291713009396163"
},
"name": "AVD Accelerator - Baseline Deployment",
"description": "AVD Accelerator - Deployment Baseline",
Expand Down Expand Up @@ -8681,7 +8681,7 @@
"_generator": {
"name": "bicep",
"version": "0.33.93.31351",
"templateHash": "18306024285956348271"
"templateHash": "2011583146610473966"
},
"name": "AVD LZA management plane",
"description": "This module deploys AVD workspace, host pool, application group scaling plan",
Expand Down Expand Up @@ -12335,7 +12335,7 @@
"hostPoolReferences": {
"value": [
{
"hostPoolArmPath": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', format('{0}', parameters('subscriptionId')), format('{0}', parameters('serviceObjectsRgName'))), 'Microsoft.Resources/deployments', format('HostPool-{0}', parameters('time'))), '2022-09-01').outputs.resourceId.value]",
"hostPoolArmPath": "[extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', format('{0}', parameters('subscriptionId')), format('{0}', parameters('serviceObjectsRgName'))), 'Microsoft.DesktopVirtualization/hostPools', reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', format('{0}', parameters('subscriptionId')), format('{0}', parameters('serviceObjectsRgName'))), 'Microsoft.Resources/deployments', format('HostPool-{0}', parameters('time'))), '2022-09-01').outputs.name.value)]",
"scalingPlanEnabled": true
}
]
Expand Down
12 changes: 6 additions & 6 deletions workload/bicep/modules/avdManagementPlane/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -330,11 +330,11 @@ module workSpace '../../../../avm/1.0.0/res/desktop-virtualization/workspace/mai
]
}

// // call on the host pool
// resource hostPoolGet 'Microsoft.DesktopVirtualization/hostPools@2024-04-03' existing = {
// name: hostPool.outputs.name
// scope: resourceGroup('${subscriptionId}', '${serviceObjectsRgName}')
// }
// call on the host pool
resource hostPoolGet 'Microsoft.DesktopVirtualization/hostPools@2024-04-03' existing = {
name: hostPool.outputs.name
scope: resourceGroup('${subscriptionId}', '${serviceObjectsRgName}')
}

// Scaling plan.
module scalingPlan '../../../../avm/1.0.0/res/desktop-virtualization/scaling-plan/main.bicep' = if (deployScalingPlan) {
Expand All @@ -349,7 +349,7 @@ module scalingPlan '../../../../avm/1.0.0/res/desktop-virtualization/scaling-pla
schedules: scalingPlanSchedules
hostPoolReferences: [
{
hostPoolArmPath: hostPool.outputs.resourceId
hostPoolArmPath: hostPoolGet.id
scalingPlanEnabled: true
}
]
Expand Down

0 comments on commit 6d33653

Please sign in to comment.