- The type of database. Used only when command=create. Must be one of: MySQL | oracle-se1 | oracle-se | oracle-ee | sqlserver-ee | sqlserver-se | sqlserver-ex | sqlserver-web
- The type of database. Used only when command=create.
- Size in gigabytes of the initial storage for the DB instance. Used only when command=create or command=modify.
- Size in gigabytes of the initial storage for the DB instance. Used only when command=create or command=modify.
@ -53,10 +54,11 @@ options:
aliases: []
aliases: []
instance_type:
instance_type:
description:
description:
- The instance type of the database. Must be specified when command=create. Optional when command=replicate or command=modify. If not specified then the replica inherits the same instance type as the source instance. Must be one of: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.xlarge | db.m2.2xlarge | db.m2.4xlarge
- The instance type of the database. Must be specified when command=create. Optional when command=replicate or command=modify. If not specified then the replica inherits the same instance type as the source instance.
- Master database username. Used only when command=create.
- Master database username. Used only when command=create.
@ -95,13 +97,15 @@ options:
aliases: []
aliases: []
license_model:
license_model:
description:
description:
- The license model for this DB instance. Used only when command=create. Must be one of: license-included | bring-your-own-license | general-public-license
- The license model for this DB instance. Used only when command=create.
- Specifies if this is a Multi-availability-zone deployment. Can not be used in conjunction with zone parameter. Used only when command=create or command=modify. Valid values: true | false
- Specifies if this is a Multi-availability-zone deployment. Can not be used in conjunction with zone parameter. Used only when command=create or command=modify.
choices: [ "yes", "no" ]
required: false
required: false
default: null
default: null
aliases: []
aliases: []
@ -208,7 +212,7 @@ author: Bruce Pennypacker
EXAMPLES = '''
EXAMPLES = '''
# Basic mysql provisioning example
# Basic mysql provisioning example
action: rds
- rds: >
command=create
command=create
instance_name=new_database
instance_name=new_database
db_engine=MySQL
db_engine=MySQL
@ -218,7 +222,7 @@ EXAMPLES = '''
password=1nsecure
password=1nsecure
# Create a read-only replica and wait for it to become available
# Create a read-only replica and wait for it to become available
action: rds
- rds: >
command=replicate
command=replicate
instance_name=new_database_replica
instance_name=new_database_replica
source_instance=new_database
source_instance=new_database
@ -226,13 +230,13 @@ EXAMPLES = '''
wait_timeout=600
wait_timeout=600
# Delete an instance, but create a snapshot before doing so
# Delete an instance, but create a snapshot before doing so