Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
Fix name collision for VM heart beat alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
jfaurskov committed Jul 5, 2023
1 parent 9daaf7e commit 86c9d61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ param parMonitorDisable string = 'MonitorDisable'
module AvailableMemoryAlert '../../arm/Microsoft.Authorization/policyDefinitions/managementGroup/deploy.bicep' = {
name: '${uniqueString(deployment().name)}-vmama-policyDefinitions'
params: {
name: 'Deploy_VM_HeartBeat_Alert'
name: 'Deploy_VM_HeartBeat_Alert_RG'
displayName: 'Deploy VM HeartBeat Alert'
description: 'Policy to audit/deploy VM HeartBeat Alert'
description: 'Policy to audit/deploy VM HeartBeat Alert for VMs in the resource group'
location: policyLocation
metadata: {
version: '1.0.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ module HeartBeatAlert '../../arm/Microsoft.Authorization/policyDefinitions/manag
params: {
name: 'Deploy_VM_HeartBeat_Alert'
displayName: 'Deploy VM HeartBeat Alert'
description: 'Policy to audit/deploy VM HeartBeat Alert'
description: 'Policy to audit/deploy VM HeartBeat Alert for all VMs in the subscription'
location: policyLocation
metadata: {
version: '1.0.0'
Expand Down

0 comments on commit 86c9d61

Please sign in to comment.