skip to Main Content

If you look at the AWS Console, Aurora Postgres-compatible version 14.3 is available to be provisioned. enter image description here

However, it looks like the latest version available in CDK is 13.7.

Is there a way to manually pass in 14.3 when instantiating a cluster from CDK?

rds.DatabaseCluster(
            self,
            'AuroraPostgresCluster',
            engine=rds.DatabaseClusterEngine.aurora_postgres(
                version=rds.AuroraPostgresEngineVersion.VER_13_7
            ),
...

2

Answers


  1. Probably yes.
    I would try the static of() Method, but You have to know also the auroraPostgresFullVersion Parameter.

    Start with

    rds.AuroraPostgresEngineVersion.of('14.3', '14.3')
    

    The docs states:

    Starting with PostgreSQL 10, PostgreSQL database engine versions use a
    major.minor numbering scheme for all releases. Some examples include
    PostgreSQL 10.18, PostgreSQL 12.7, and PostgreSQL 13.3.

    So in my opinion this should work, however I didn’t tried this out.

    Login or Signup to reply.
  2. It is now available:

    engine=rds.DatabaseClusterEngine.aurora_postgres(version=rds.AuroraPostgresEngineVersion.VER_14_3)
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search