Billy H
04/30/2024, 5:35 PMmodule.fleet.module.byo-vpc.module.rds.aws_rds_cluster.this[0]: Modifying... [id=fleet]
╷
│ Error: updating RDS Cluster (fleet): InvalidParameterCombination: Cannot find upgrade target from 8.0.mysql_aurora.3.05.2 with requested version 8.0.mysql_aurora.3.02.2.
│ status code: 400, request id: 9633b699-68d2-4b97-ba57-bc8e6bdcf3c0
│
│ with module.fleet.module.byo-vpc.module.rds.aws_rds_cluster.this[0],
│ on .terraform/modules/fleet.byo-vpc.rds/main.tf line 61, in resource "aws_rds_cluster" "this":
│ 61: resource "aws_rds_cluster" "this" {
Looks like it's trying to "upgrade" the MySQL Aurora version to a lower version:
# module.fleet.module.byo-vpc.module.rds.aws_rds_cluster.this[0] will be updated in-place
~ resource "aws_rds_cluster" "this" {
~ engine_version = "8.0.mysql_aurora.3.05.2" -> "8.0.mysql_aurora.3.02.2"
id = "fleet"
tags = {}
# (46 unchanged attributes hidden)
# (1 unchanged block hidden)
}
# module.fleet.module.byo-vpc.module.rds.aws_rds_cluster_instance.this["one"] will be updated in-place
~ resource "aws_rds_cluster_instance" "this" {
~ engine_version = "8.0.mysql_aurora.3.05.2" -> "8.0.mysql_aurora.3.02.2"
id = "fleet-one"
tags = {}
# (32 unchanged attributes hidden)
# (1 unchanged block hidden)
}
# module.fleet.module.byo-vpc.module.rds.aws_rds_cluster_instance.this["two"] will be updated in-place
~ resource "aws_rds_cluster_instance" "this" {
~ engine_version = "8.0.mysql_aurora.3.05.2" -> "8.0.mysql_aurora.3.02.2"
id = "fleet-two"
tags = {}
# (32 unchanged attributes hidden)
# (1 unchanged block hidden)
}
It's pulling the engine_version
variable but I have never touched this and I can't find any reference to version 8.0.mysql_aurora.3.05.2
in the code I have so I am confused how it got upgraded to that version if the code has been specifying 8.0.mysql_aurora.3.02.2
. Any ideas?Benjamin Edwards
04/30/2024, 5:36 PMBilly H
04/30/2024, 5:37 PMBilly H
04/30/2024, 5:37 PM