RDS automatic minor upgrades are disabled

Maintain a separate patch plan when automatic minor upgrades are disabled.

Description

RDS for MySQL applies its designated automatic minor-upgrade target during maintenance. Setting auto_minor_version_upgrade = false disables routine automatic upgrades. RDS can still upgrade for critical security issues or end of support.

Potential impact

Without a manual patch schedule, security and stability fixes can be delayed.

Remediation

For automatic upgrades, set auto_minor_version_upgrade = true and a backup retention period greater than zero. Check compatibility with the target version and plan for downtime in the maintenance window. For manual upgrades, schedule the patch, back up the database and verify the app afterward.

Examples

Supply a MySQL version and instance class supported in your Region, along with storage and credentials.

Before

hcl
resource "aws_db_instance" "example" {
  engine                     = "mysql"
  engine_version             = var.mysql_engine_version
  instance_class             = var.db_instance_class
  auto_minor_version_upgrade = false
}

After

hcl
resource "aws_db_instance" "example" {
  engine                     = "mysql"
  engine_version             = var.mysql_engine_version
  instance_class             = var.db_instance_class
  auto_minor_version_upgrade = true
}

References