mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-09-30 07:43:14 +00:00
fix(infra): Aurora engine 15.4 -> 15.17 (15.4 retired by RDS, deploy failed) (#228)
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.
This commit is contained in:
parent
0f9d27fbf0
commit
0c5b294ffc
1 changed files with 3 additions and 1 deletions
|
|
@ -94,8 +94,10 @@ export class FoundationStack extends cdk.Stack {
|
||||||
// not permitted"). A distinct ID makes it a clean replace instead.
|
// not permitted"). A distinct ID makes it a clean replace instead.
|
||||||
const dbCluster = new rds.DatabaseCluster(this, 'AuroraCluster', {
|
const dbCluster = new rds.DatabaseCluster(this, 'AuroraCluster', {
|
||||||
clusterIdentifier: `proposal-system-db${config.stackSuffix}`,
|
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({
|
engine: rds.DatabaseClusterEngine.auroraPostgres({
|
||||||
version: rds.AuroraPostgresEngineVersion.VER_15_4,
|
version: rds.AuroraPostgresEngineVersion.VER_15_17,
|
||||||
}),
|
}),
|
||||||
vpc: this.vpc,
|
vpc: this.vpc,
|
||||||
vpcSubnets: { subnetType: ec2.SubnetType.PRIVATE_WITH_EGRESS },
|
vpcSubnets: { subnetType: ec2.SubnetType.PRIVATE_WITH_EGRESS },
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue