Author: | Scott Anderson |
---|
New in version 1.5.
Creates, modifies, and deletes RDS parameter groups. This module has a dependency on python-boto >= 2.5.
parameter | required | default | choices | comments |
---|---|---|---|---|
aws_access_key | no | AWS access key. If not set then the value of the AWS_ACCESS_KEY environment variable is used. | ||
aws_secret_key | no | AWS secret key. If not set then the value of the AWS_SECRET_KEY environment variable is used. | ||
description | no | Database parameter group description. Only set when a new group is added. | ||
engine | no |
|
The type of database for this group. Required for state=present. | |
immediate | no | Whether to apply the changes immediately, or after the next reboot of any associated instances. | ||
name | yes | Database parameter group identifier. | ||
params | no |
|
Map of parameter names and values. Numeric values may be represented as K for kilo (1024), M for mega (1024^2), G for giga (1024^3), or T for tera (1024^4), and these values will be expanded into the appropriate number before being set in the parameter group. | |
region | yes | The AWS region to use. If not specified then the value of the EC2_REGION environment variable, if any, is used. | ||
state | yes | present |
|
Specifies whether the group should be present or absent. |
Note
Requires boto
# Add or change a parameter group, in this case setting auto_increment_increment to 42 * 1024
- rds_param_group: >
state=present
name=norwegian_blue
description=My Fancy Ex Parrot Group
engine=mysql5.6
params='{"auto_increment_increment": "42K"}'
# Remove a parameter group
- rds_param_group: >
state=absent
name=norwegian_blue