Skip to content

Commit

Permalink
fix failed test
Browse files Browse the repository at this point in the history
  • Loading branch information
lonegunmanb committed Feb 13, 2025
1 parent 73d1164 commit 5f2b999
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ valid_azapi_properties_storageProfile_osDisk_storageAccountType(resource) if {
deny_mission_critical_virtual_machine_should_use_premium_or_ultra_disks contains reason if {
resource := data.utils.resource(input, "azapi_resource")[_]
data.utils.is_azure_type(resource.values, "Microsoft.Compute/virtualMachines")
not valid_azapi_os_disk_storage_account_type(resource)
not valid_azapi_properties_storageProfile_osDisk_storageAccountType(resource)

reason := sprintf("Azure-Proactive-Resiliency-Library-v2: '%s' `azapi_resource` must have configured `storageProfile.osDisk.managedDisk.storageAccountType` to use Premium or Ultra type: https://azure.github.io/Azure-Proactive-Resiliency-Library-v2/azure-resources/Compute/virtualMachines/#mission-critical-workloads-should-consider-using-premium-or-ultra-disks", [resource.address])
}

0 comments on commit 5f2b999

Please sign in to comment.