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
383 stars 84 forks source link

[RULE] PostgreSQL - Enable HA with zone redundancy #2953

Closed jeanchg closed 1 month ago

jeanchg commented 1 month ago

Existing rule

No response

Suggested rule

As per APRL recommendation, and similar to Azure.MySQL.ZoneRedundantHA, enable HA with zone redundancy on PostgreSQL flexible server instances to deploy a standby replica in a different zone, offering automatic failover capability for improved reliability and disaster recovery.

Resource Type: microsoft.dbforpostgresql/flexibleservers Properties and expected values: highAvailability.mode == "ZoneRedundant"

Pillar

Reliability

Additional context

Overview of high availability with Azure Database for PostgreSQL

jeanchg commented 1 month ago

my bad, I had missed the rule created a couple weeks ago... https://azure.github.io/PSRule.Rules.Azure/en/rules/Azure.PostgreSQL.ZoneRedundantHA/