From 6a78e9e4167921c258768e99748bd9a0a03d7547 Mon Sep 17 00:00:00 2001 From: follower Date: Wed, 2 Apr 2014 02:25:14 +1300 Subject: [PATCH] Clarify the port value always defaults to 3306 While the [boto docs](https://github.com/boto/boto/blob/develop/boto/rds/__init__.py#L253) make it seem like the default value of `port` is changed depending on the engine chosen, AFAICT from looking at the code the default value is never changed from 3306. I think the docs are intended to be read as "the default value used by is so you should change `port` to that value". If you don't specify the port value and chose the database engine as PostgreSQL you'll end up with a PostgreSQL instance running on port 3306. --- cloud/rds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/rds b/cloud/rds index 0e2c8ff2131..7c5b8e0d441 100644 --- a/cloud/rds +++ b/cloud/rds @@ -131,7 +131,7 @@ options: aliases: [] port: description: - - Port number that the DB instance uses for connections. Defaults to 3306 for mysql, 1521 for Oracle, 1443 for SQL Server. Used only when command=create or command=replicate. + - Port number that the DB instance uses for connections. Defaults to 3306 for mysql. Must be changed to 1521 for Oracle, 1443 for SQL Server, 5432 for PostgreSQL. Used only when command=create or command=replicate. required: false default: null aliases: []