Multi-AZ is not turned on for RDS instance Affecting RDS service in AWS


0.0
medium
0
10
    Severity Framework Snyk CCSS
    Rule category Data / Lifecycle

Is your enviroment affected by this misconfiguration?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
    Frameworks
    AWS-Well-Architected CSA-CCM GDPR HIPAA ISO-27001 NIST-800-53 SOC-2
  • Snyk ID SNYK-CC-00179
  • credit Snyk Research Team

Description

Provisioning Multi-AZ RDS instances provides enhanced availability and durability in case of availability zone failure.

How to fix?

Ensure that the aws_db_instance multi_az field is set to true.

Example Configuration

resource "aws_db_instance" "main" {
  multi_az             = true
  # other required fields here
}