I could not find a module for elasticache where cluster on, however, I used the command module to create the elasticache,
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" On Wednesday, February 21, 2018 at 9:45:39 AM UTC-5 WZ wrote: > Hi, > > I'm trying to spin up a clustered mode of redis instance and it seems like > this results in ansible trying to spin up a non clustered mode of redis. > There is no parameter for clustered mode, so only way for signifying > cluster seems to be setting cluster.on in parameter group. Below is my yml > >> >> - 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" > > > Below is the error I get back from running above, (aws access keys set as > env variable) > > "msg": "An error occurred (InvalidParameterCombination) when calling the >> CreateCacheCluster operation: Cluster mode should be disabled in parameter >> group, but found it is enabled.", > > > Is there support for a clustered mode of redis on AWS Elasticache? > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b41e5b9a-c4a5-4b62-97c2-e43016955a2an%40googlegroups.com.
