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.
Use .NET CDK 1.8 to create Aurora Postgres cluster. Observe cluster port being 3306.
This is :bug: Bug Report
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.
Most helpful comment
I also encountered this issue using CDK on typescript