Unable to use Postgres VER_15_5 using AWS CDDK python

76 views Asked by At

While trying to upgrade minor version AWS Aurora Postgres from 15.3 to 15.5, I am getting below error.

AttributeError: type object 'AuroraPostgresEngineVersion' has no attribute 'VER_15_5'. Did you mean: 'VER_10_5'?

CDK version: 2.99

1

There are 1 answers

0
gshpychka On BEST ANSWER

It was added in CDK version 2.118 in this commit

You can use it in an earlier version directly:

AuroraPostgresEngineVersion.of('15.5', '15', { s3Import: true, s3Export: true });