Skip to content

Commit

Permalink
feat(elasticache): support for redis6.x group family for parameter gr…
Browse files Browse the repository at this point in the history
…oups (#1476)

feat(elasticache): support for redis6.x group family for parameter groups

SUMMARY
AWS cache parameters groups can now be of type redis6.x. This PR adds to the module elasticache_parameter_group support to pass this new family group.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
Impacted component: elasticache_parameter_group module.

Reviewed-by: Markus Bergholz <[email protected]>
Reviewed-by: Felix Fontein <[email protected]>
Reviewed-by: Gonéri Le Bouder <[email protected]>
Reviewed-by: Alina Buzachis <None>
  • Loading branch information
MadJlzz authored Nov 15, 2022
1 parent 7aab6cf commit 784669d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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).
4 changes: 2 additions & 2 deletions plugins/modules/elasticache_parameter_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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']),
Expand Down

0 comments on commit 784669d

Please sign in to comment.