The Azure.ACR.MinSku rule is failing, when the Sku has been set correctly.
The field 'Sku.tier' does not exist.
Expected behaviour
The field Sku.name should be leveraged
Error output
| REASON:
| - The field 'Sku.tier' does not exist.
| HELP:
| - https://azure.github.io/PSRule.Rules.Azure/en/rules/Azure.ACR.MinSku/
Error: crsimplecluster88fe5cb213119 failed Azure.ACR.MinSku. ACR should use the Premium or Standard SKU for production deployments.
Description of the issue
The Azure.ACR.MinSku rule is failing, when the Sku has been set correctly.
The field 'Sku.tier' does not exist.
Expected behaviour
The field Sku.name should be leveraged
Error output
Module in use and version:
Captured output from
$PSVersionTable
:Additional context https://docs.microsoft.com/en-us/azure/templates/microsoft.containerregistry/registries?tabs=bicep#sku