From 4be010b09bc7a3ed1bb3ceec0d7af7effb5f6146 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. --- library/cloud/rds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/cloud/rds b/library/cloud/rds index 0e2c8ff213..7c5b8e0d44 100644 --- a/library/cloud/rds +++ b/library/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: []