I’m trying to create Elasticache cluster with Redis engine with the following requirements:
- 3 shards
- 1 replica per shard
- Multi-AZ disabled
BUT I would like to have primary and replica in first shard in first AZ, primary and replica
in second shard in second AZ and so on. It is doable via AWS console:
I received following error when I tried to put
Error creating Elasticache Replication Group: InvalidParameterCombination: PreferredCacheClusterAZs can only be specified for one node group.
I’ve noticed also that there is something like NodeGroupConfiguration but I’m not sure if this can be somehow used in terraform?
I found also different topics describing similar situation, but it seems like they are not resolved.