Disable auto_minor_version_upgrade for Aurora RDS cluster

When deploying a PoC of Astronomer Enterprise I left it running over the weekend and the next week the maintenance window took place and the cluster was upgraded from PostgreSQL 10.6 to 10.7.

When deploying a change on min_cluster_size/max_cluster_size that applies for the EKS workers, I realized on the output that terraform wanted to delete the RDS cluster since it was downgrading it from PostgreSQL 10.7 back to 10.6 that is on the terraform code.

Can we please set auto_minor_version_upgrade to false?, this might help to solve the issue.


References:


Extra info:

$ terraform show

	...

# module.astronomer-enterprise.module.aws.module.aurora.aws_rds_cluster.this:
resource "aws_rds_cluster" "this" {
	...
    engine                              = "aurora-postgresql"
    engine_version                      = "10.6"
    preferred_maintenance_window        = "sun:05:00-sun:06:00"
	...
}

# module.astronomer-enterprise.module.aws.module.aurora.aws_rds_cluster_instance.this[0]:
resource "aws_rds_cluster_instance" "this" {
	...
    auto_minor_version_upgrade   = true
    engine                       = "aurora-postgresql"
    engine_version               = "10.6"
    preferred_maintenance_window = "sun:05:00-sun:06:00"
	...
}

	...