[cloud] Update RDS parameter group for boto3 (#25345)

* Update RDS parameter group for boto3

* Update to boto3
* Update to latest ansible standards
* Remove choices list for valid engines (See #19221 for context)
* Allow tagging
* Return some useful information, and document that information

* Add tests for rds_param_group

* Improve testing of rds_param_group

* Add purge_tags option for rds_param_group

* Fix remaining broken rds_param_group tests

* Ensure the group name is lowercased. Fixes integration tests when run on OSX
This commit is contained in:
Will Thames 2017-08-28 11:52:22 -05:00 committed by Ryan Brown
commit 63df0adc17
8 changed files with 595 additions and 159 deletions

View file

@ -0,0 +1,30 @@
---
rds_param_group:
name: "{{ resource_prefix}}rds-param-group"
description: "Test group for rds_param_group Ansible module"
engine: postgres9.6
rds_long_param_list:
application_name: Test
logging_collector: on
log_directory: /var/log/postgresql
log_filename: postgresql.log.%Y-%m-%d-%H
log_file_mode: 0600
event_source: RDS
log_min_messages: INFO
log_min_duration_statement: 500
log_rotation_age: 60
debug_print_parse: on
debug_print_rewritten: on
debug_print_plan: on
debug_pretty_print: on
log_checkpoints: on
log_connections: on
log_disconnections: on
log_duration: on
log_error_verbosity: VERBOSE
log_lock_waits: on
log_temp_files: 10K
log_timezone: UTC
log_statement: 'all'
log_replication_commands: on