I used this earlier to get a redis instance up successfully through cloudformation:
"RedisCache": {
"Type": "AWS::ElastiCache::CacheCluster",
"Properties": {
"ClusterName": {
"Fn::Join": ["-", [ {
"Ref": "EnvType"
}, {
"Ref": "EnvVersion"
}
]]
},
"AutoMinorVersionUpgrade": "true",
"AZMode": "single-az",
"CacheNodeType": "cache.t2.medium",
"Engine": "redis",
"EngineVersion": "3.2.6",
"NumCacheNodes": "1",
"PreferredAvailabilityZone": "us-west-2a",
"PreferredMaintenanceWindow": "sun:04:30-sun:05:30",
"CacheSubnetGroupName": "redis-test-subnet-group",
"VpcSecurityGroupIds": ["sg-group1", "sg-group2"]
}
},
AS AWS has recently upgraded Redis to use AtRestEncryption,AuthToken and TransitEncryption I tried including those in the above code, but as per this only AWS::ElastiCache::ReplicationGroup accepts those parameters.
How do I create a single Redis instance using AWS::ElastiCache::ReplicationGroup ?