Iulian
Iulian

Reputation: 319

Redis support in terraform

I am not sure what I am doing something wrong here but the documentation does not say anything. I am trying to deploy a redis cluster but this is the error that I am getting:

aws_elasticache_cluster.cluster: engine "redis" does not support num_cache_nodes > 1

Upvotes: 3

Views: 1827

Answers (1)

Nathan Smith
Nathan Smith

Reputation: 8347

The documentation states for num_cache_nodes that you can only specify one instance for Redis. In order to create a clustered Redis setup you need to create an elasticache_replication_group, you can find the documentation to do that in Terraform here.

Upvotes: 4

Related Questions