Azure / PSRule.Rules.Azure

Rules to validate Azure resources and infrastructure as code (IaC) using PSRule.
https://azure.github.io/PSRule.Rules.Azure/
MIT License
393 stars 84 forks source link

[RULE] Zone redundancy check for Cache for Redis #3057

Open Leandroesc opened 3 weeks ago

Leandroesc commented 3 weeks ago

Existing rule

No response

Suggested rule

Currently there's no rule to check for Cache for Redis Availability Zone protection. It would be good to align the rules with all other reliability checks done by PSRule already for Availability Zone protection.

Pillar

None

Additional context

This will help improve checking for deployed resources using the steps in this link: https://azure.github.io/PSRule.Rules.Azure/export-rule-data/ https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-zone-redundancy

BernieWhite commented 1 week ago

Existing rule exists https://azure.github.io/PSRule.Rules.Azure/en/rules/Azure.Redis.AvailabilityZone/

However, it only provides the recommendation if the tier is premium. We should remove that requirement as we have been doing with other rules as it is confusing for customers.


Work required: