diff --git a/changelogs/fragments/1476-add-redis6x-cache-parameter-group-family.yml b/changelogs/fragments/1476-add-redis6x-cache-parameter-group-family.yml new file mode 100644 index 00000000000..41d43621e3c --- /dev/null +++ b/changelogs/fragments/1476-add-redis6x-cache-parameter-group-family.yml @@ -0,0 +1,2 @@ +minor_changes: + - elasticache_parameter_group - add ``redis6.x`` group family on the module input choices (https://github.com/ansible-collections/community.aws/pull/1476). \ No newline at end of file diff --git a/plugins/modules/elasticache_parameter_group.py b/plugins/modules/elasticache_parameter_group.py index 71ea159a14a..247dd0bab00 100644 --- a/plugins/modules/elasticache_parameter_group.py +++ b/plugins/modules/elasticache_parameter_group.py @@ -25,7 +25,7 @@ description: - The name of the cache parameter group family that the cache parameter group can be used with. Required when creating a cache parameter group. - choices: ['memcached1.4', 'memcached1.5', 'redis2.6', 'redis2.8', 'redis3.2', 'redis4.0', 'redis5.0'] + choices: ['memcached1.4', 'memcached1.5', 'redis2.6', 'redis2.8', 'redis3.2', 'redis4.0', 'redis5.0', 'redis6.x'] type: str name: description: @@ -274,7 +274,7 @@ def get_info(conn, name): def main(): argument_spec = dict( - group_family=dict(type='str', choices=['memcached1.4', 'memcached1.5', 'redis2.6', 'redis2.8', 'redis3.2', 'redis4.0', 'redis5.0']), + group_family=dict(type='str', choices=['memcached1.4', 'memcached1.5', 'redis2.6', 'redis2.8', 'redis3.2', 'redis4.0', 'redis5.0', 'redis6.x']), name=dict(required=True, type='str'), description=dict(default='', type='str'), state=dict(required=True, choices=['present', 'absent', 'reset']),