From 0c5b294ffc993ab20ac491ca968b49ae6bc98e4b Mon Sep 17 00:00:00 2001 From: Adam Moussa <166072409+amoussa1229@users.noreply.github.com> Date: Wed, 15 Jul 2026 15:01:50 -0400 Subject: [PATCH] fix(infra): Aurora engine 15.4 -> 15.17 (15.4 retired by RDS, deploy failed) (#228) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit First prod deploy failed: RDS returned 'Cannot find version 15.4 for aurora-postgresql' (minor version retired). Bump to latest available 15.x (15.17); stays on major 15 for pgvector / ADR 0001. Clean create — the failed stack rolled back, no cluster persisted. --- infra/lib/foundation-stack.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/infra/lib/foundation-stack.ts b/infra/lib/foundation-stack.ts index 16ade07..69ca391 100644 --- a/infra/lib/foundation-stack.ts +++ b/infra/lib/foundation-stack.ts @@ -94,8 +94,10 @@ export class FoundationStack extends cdk.Stack { // not permitted"). A distinct ID makes it a clean replace instead. const dbCluster = new rds.DatabaseCluster(this, 'AuroraCluster', { clusterIdentifier: `proposal-system-db${config.stackSuffix}`, + // 15.17 = latest available aurora-postgresql 15.x (15.4 was retired by RDS — + // "Cannot find version 15.4"). Stays on major 15 for pgvector / ADR 0001 compat. engine: rds.DatabaseClusterEngine.auroraPostgres({ - version: rds.AuroraPostgresEngineVersion.VER_15_4, + version: rds.AuroraPostgresEngineVersion.VER_15_17, }), vpc: this.vpc, vpcSubnets: { subnetType: ec2.SubnetType.PRIVATE_WITH_EGRESS },