Skip to content

Commit

Permalink
[Improvement] state/elasticache-redis - Updating available Redis vers…
Browse files Browse the repository at this point in the history
…ions (widdix#509)

* Updating Elasticache Redis

* avoid breaking change
  • Loading branch information
andreaswittig committed Nov 10, 2020
1 parent 6f7ca9c commit 5ba4849
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions state/elasticache-redis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,14 @@ Parameters:
Type: String
Default: '5.0.0'
AllowedValues: # aws elasticache describe-cache-engine-versions --engine redis --query "CacheEngineVersions[].EngineVersion"
- '5.0.4'
- '5.0.0'
- '4.0.10'
- '3.2.6' # 3.2.4 and 3.2.10 do not support encryption
- '4.0.10'
- '5.0.0'
- '5.0.3'
- '5.0.4'
- '5.0.5'
- '5.0.6'
- '6.x'
CacheNodeType:
Description: 'The compute and memory capacity of the nodes in the node group (shard).'
Type: 'String'
Expand Down Expand Up @@ -155,8 +159,16 @@ Mappings:
CacheParameterGroupFamily: 'redis4.0'
'5.0.0':
CacheParameterGroupFamily: 'redis5.0'
'5.0.3':
CacheParameterGroupFamily: 'redis5.0'
'5.0.4':
CacheParameterGroupFamily: 'redis5.0'
'5.0.5':
CacheParameterGroupFamily: 'redis5.0'
'5.0.6':
CacheParameterGroupFamily: 'redis5.0'
'6.x':
CacheParameterGroupFamily: 'redis6.x'
Conditions:
HasKmsKey: !Not [!Equals [!Ref ParentKmsKeyStack, '']]
HasZone: !Not [!Equals [!Ref ParentZoneStack, '']]
Expand Down

0 comments on commit 5ba4849

Please sign in to comment.