Aws-cdk: .NET CDK 1.8 Aurora Postgres cluster endpoint gets MySQL port 3306 instead of 5432

Created on 19 Sep 2019  路  3Comments  路  Source: aws/aws-cdk


Using .NET CDK 1.8 to create Aurora Postgres cluster, observing the cluster endpoint getting port 3306, typically used by MySQL, instead of customary Postgres port 5432, while non-cluster, instance Postgres RDS gets the expected 5432 port.

Reproduction Steps

Use .NET CDK 1.8 to create Aurora Postgres cluster. Observe cluster port being 3306.

Error Log

Environment

  • CLI Version :1.8
  • Framework Version:.NET Core 2.1
  • OS :Windows 10
  • Language :.NET C#

Other


This is :bug: Bug Report

@aws-cdaws-rds bug in-progress p2

Most helpful comment

I also encountered this issue using CDK on typescript

All 3 comments

I also encountered this issue using CDK on typescript

@vgribok, thank you for reporting!
It might be related to #929. Someone should look into this soon and will update this issue when there is any progress.

IMO, that's unlikely. If feels more like a "copy & paste inheritance" kind of problem. I'd look for the code where default port is set, and whether the code setting Postgres Aurora cluster (regular, non-serverless) port was copied from MySQL w/o changing port constant value.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mirazmamun picture mirazmamun  路  3Comments

tomkivlin picture tomkivlin  路  3Comments

artyom-melnikov picture artyom-melnikov  路  3Comments

v-do picture v-do  路  3Comments

ababra picture ababra  路  3Comments