Skip to content

Commit

Permalink
minar fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rahalan committed Jun 16, 2024
1 parent 65b4c2c commit dbba527
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion avm/res/compute/virtual-machine/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -611,9 +611,11 @@ resource vm 'Microsoft.Compute/virtualMachines@2023-09-01' = {
}

resource vm_configurationAssignment 'Microsoft.Maintenance/configurationAssignments@2023-04-01' = if (!empty(maintenanceConfigurationId)) {
name: 'default'
name: '${vm.name}assignment'
location: location
properties: {
maintenanceConfigurationId: maintenanceConfigurationId
resourceId: vm.id
}
scope: vm
}
Expand Down

0 comments on commit dbba527

Please sign in to comment.