fix(rds): list aurora-postgresql 18.6 in DescribeDBEngineVersions (#8873)

DescribeDBEngineVersions returned nothing for Engine=aurora-postgresql with EngineVersion=18.6, because the catalogue stopped at Aurora PostgreSQL 17.4, so Terraform's aws_rds_engine_version data source failed with "no RDS engine versions found". The catalogue now lists 18.6 with major version 18 and family aurora-postgresql18, whose managed default cluster parameter group Floci already ships. 16.3 stays the default for a cluster that names no version, and 17.4 now lists 18.6 as an upgrade target.

Closes #8872
This commit is contained in:
Angel Abad authored and GitHub committed 2026-11-18 13:36:42 -04:00
1 parent 3f3625359a
commit 4ac034d645
2 files changed
+9 -2

No files matched your search

@@ -56,6 +56,8 @@ final class RdsEngineCatalog {
"Aurora (PostgreSQL)", true, AURORA_CLASSES, PROVISIONED),
new EngineVersion("aurora-postgresql", "17.4", "17", "aurora-postgresql17",
"Aurora (PostgreSQL)", false, List.of(), PROVISIONED),
new EngineVersion("aurora-postgresql", "18.6", "18", "aurora-postgresql18",
"Aurora (PostgreSQL)", false, List.of(), PROVISIONED),
new EngineVersion("aurora-mysql", "8.0.mysql_aurora.3.05.2", "8.0", "aurora-mysql8.0",
"Aurora MySQL", true, AURORA_CLASSES, PROVISIONED),
new EngineVersion("aurora-mysql", "8.0.mysql_aurora.3.08.0", "8.0", "aurora-mysql8.0",
@@ -63,6 +63,11 @@ class RdsCatalogueReadIntegrationTest {
.formParam("DefaultOnly", "true")
.when().post("/").then().statusCode(200)
.body(VERSIONS + ".EngineVersion", equalTo("18.4"));
query("DescribeDBEngineVersions").formParam("Engine", "aurora-postgresql").formParam("EngineVersion", "18.6")
.when().post("/").then().statusCode(200)
.body(VERSIONS + ".size()", equalTo(1))
.body(VERSIONS + ".DBParameterGroupFamily", equalTo("aurora-postgresql18"))
.body(VERSIONS + ".MajorEngineVersion", equalTo("18"));
// Without a version, DefaultOnly gives the version Floci creates when none is named.
query("DescribeDBEngineVersions").formParam("Engine", "aurora-mysql").formParam("DefaultOnly", "true")
.when().post("/").then().statusCode(200)
@@ -79,7 +84,7 @@ class RdsCatalogueReadIntegrationTest {
.body(not(containsString("<DBEngineVersion>")));
query("DescribeDBEngineVersions").formParam("MaxRecords", "20")
.when().post("/").then().statusCode(200)
.body(VERSIONS + ".size()", equalTo(19))
.body(VERSIONS + ".size()", equalTo(20))
.body(not(containsString("<Marker>")));
}
@@ -123,7 +128,7 @@ class RdsCatalogueReadIntegrationTest {
void engineVersionsPageByOffset() {
query("DescribeDBEngineVersions").formParam("Marker", "15")
.when().post("/").then().statusCode(200)
.body(VERSIONS + ".size()", equalTo(4))
.body(VERSIONS + ".size()", equalTo(5))
.body(not(containsString("<Marker>")));
query("DescribeDBEngineVersions").formParam("Marker", "next")
.when().post("/").then().statusCode(400)