fix(rds): omit Aurora instance storage modifications (#9400)

DescribeValidDBInstanceModifications offered four instance storage types for an Aurora record with no cluster identifier, while ModifyDBInstance discards a requested storage type for any Aurora engine. The valid-modifications path now applies the same Aurora check and returns no storage options for it.

Closes #9294
This commit is contained in:
Jimmy Liu Jia authored and GitHub committed 2026-11-24 21:00:04 -04:00
1 parent 0dfd50febb
commit b504a2e9c2
2 files changed
+22 -1

No files matched your search

@@ -4597,7 +4597,7 @@ public class RdsService implements Resettable, ResourceProvider {
throw new AwsException("InvalidDBInstanceState",
"DB instance " + id + " is not in available state.", 400);
}
if (!isBlank(instance.getDbClusterIdentifier())) {
if (!isBlank(instance.getDbClusterIdentifier()) || isAuroraEngine(engineName(instance))) {
return List.of();
}
int maximum = instance.getEngine() == DatabaseEngine.SQLSERVER ? MAX_SQLSERVER_STORAGE_GIB : MAX_STORAGE_GIB;