Skip to content

Aurora PG Serverless Version mismatch #6156

@ericmillsio

Description

@ericmillsio
Postgres sst:aws:Aurora → PostgresCluster aws:rds:Cluster
sdk-v2/provider2.go:515: sdk.helper_schema: updating RDS Cluster (xxxx-xxxx-postgrescluster-xxxxxxxxx): operation err
or RDS: ModifyDBCluster, https response error StatusCode: 400, RequestID: dab60308-8b77-45bb-a3f3-8e7c0a309d27, api err
or InvalidParameterCombination: Cannot upgrade aurora-postgresql from 16.8 to 16.6: provider=aws@6.66.2
export const db = new sst.aws.Aurora('Postgres', {
  vpc,
  engine: 'postgres',
  version: '16.6',
  scaling: {
    min: '0 ACU',
    max: '1 ACU',
    pauseAfter: '1 hour',
  },
});

I'm getting an error of a failed upgrade of Aurora serverless when I have a fixed version for some reason. I also have different staging DBs that ended up in the newer versions, when IMO it should stay fixed to that version (unless AWS doesn't allow new DBs in old versions?).

Another user reports a similar issue on Discord:

"yeah, i get the same. i had to go into the instance in aws console and manually update it to the target version, matching the version change in my sst config. after that, my next sst deploy worked. this only works for minor updates tho.
i need to figure out how to upgrade the major version.
ideally it could all just go via the sst config, but i tested that out, and it failed for me."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions