- name: Provision cluster redis aws
hosts: localhost
connection: local
tasks:
- name: Set up redis cluster
elasticache:
name: "clustered-redis"
state: present
engine: redis
region: "us-east-1"
cache_engine_version: 3.2.10
node_type: cache.t2.small
num_nodes: 1
cache_port: "6379"
cache_parameter_group: "default.redis3.2.cluster.on"
"msg": "An error occurred (InvalidParameterCombination) when calling the CreateCacheCluster operation: Cluster mode should be disabled in parameter group, but found it is enabled.",
aws elasticache create-replication-group --replication-group-id xxxx --cache-parameter-group-name "default.redis7.1.cluster.on"
creating a replication group can use the default.redis7.1.cluster.on"