Skip to content

Commit

Permalink
Align Automanage deployment names
Browse files Browse the repository at this point in the history
  • Loading branch information
Erika Gressi committed Dec 4, 2021
1 parent 64ed49c commit 939c02f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arm/Microsoft.Automanage/accounts/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module pidName '.bicep/nested_cuaId.bicep' = if (!empty(cuaId)) {
}

module autoManageAccount '.bicep/nested_autoManageAccount.bicep' = {
name: 'autoManageAccount-${uniqueString(subscription().subscriptionId, autoManageAccountResourceGroupName, name)}'
name: '${uniqueString(deployment().name, location)}-AutoManageAccount'
scope: resourceGroup(autoManageAccountResourceGroupName)
params: {
location: location
Expand All @@ -61,7 +61,7 @@ resource autoManageAccount_permissions_resourcePolicyContributor 'Microsoft.Auth
}

module configurationProfileAssignment '.bicep/nested_configurationProfileAssignment.bicep' = {
name: 'configurationProfileAssignment-${uniqueString(vmResourceGroupName, vmName)}'
name: '${uniqueString(deployment().name, location)}-ConfigurationProfileAssignment'
scope: resourceGroup(vmResourceGroupName)
params: {
vmName: vmName
Expand Down

0 comments on commit 939c02f

Please # to comment.