From 41a6c1d220848d5c5ce3f33afb144eb4efd33908 Mon Sep 17 00:00:00 2001 From: Peter Kirby Date: Mon, 10 Dec 2018 16:47:55 -0600 Subject: [PATCH] Update rds.py (#49674) Adds endpoint and port to the instance return values for rds.py. Partial fix for #37209 --- lib/ansible/modules/cloud/amazon/rds.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/ansible/modules/cloud/amazon/rds.py b/lib/ansible/modules/cloud/amazon/rds.py index aabbedea61fb79..524705e2e065b8 100644 --- a/lib/ansible/modules/cloud/amazon/rds.py +++ b/lib/ansible/modules/cloud/amazon/rds.py @@ -319,6 +319,16 @@ returned: when RDS instance exists type: string sample: "ASERTG" +endpoint: + description: the endpoint uri of the database instance + returned: when RDS instance exists + type: string + sample: "my-ansible-database.asdfaosdgih.us-east-1.rds.amazonaws.com" +port: + description: the listening port of the database instance + returned: when RDS instance exists + type: int + sample: 3306 parameter_groups: description: the list of DB parameter groups applied to this RDS instance returned: when RDS instance exists and parameter groups are defined