From d3480c5630f14c74f9bd138989c6612fec5988d0 Mon Sep 17 00:00:00 2001 From: Bruce Pennypacker Date: Wed, 4 Dec 2013 10:01:30 -0500 Subject: [PATCH] fixed documentation & added rename example --- library/cloud/rds | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/library/cloud/rds b/library/cloud/rds index 08b7986f11..288bcf1748 100644 --- a/library/cloud/rds +++ b/library/cloud/rds @@ -211,7 +211,7 @@ options: new_instance_name: description: - Name to rename an instance to. Used only when command=modify. - required: true + required: false default: null aliases: [] requirements: [ "boto" ] @@ -248,6 +248,13 @@ EXAMPLES = ''' command=facts instance_name=new_database register: new_database_facts + +# Rename an instance and wait for the change to take effect +- rds: > + command=modify + instance_name=new_database + new_instance_name=renamed_database + wait=yes '''