|
|
@ -211,7 +211,7 @@ options:
|
|
|
|
new_instance_name:
|
|
|
|
new_instance_name:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Name to rename an instance to. Used only when command=modify.
|
|
|
|
- Name to rename an instance to. Used only when command=modify.
|
|
|
|
required: true
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
aliases: []
|
|
|
|
aliases: []
|
|
|
|
requirements: [ "boto" ]
|
|
|
|
requirements: [ "boto" ]
|
|
|
@ -249,6 +249,13 @@ EXAMPLES = '''
|
|
|
|
instance_name=new_database
|
|
|
|
instance_name=new_database
|
|
|
|
register: new_database_facts
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
import sys
|
|
|
|
import sys
|
|
|
|