Add support for Elasticache Redis
bmonkman opened this issue · comments
Add terraform to enable support of Elasticache Redis.
As usual, let's try to use a well-supported existing TF module as the basis for this.
If this is done after memcached, the code should be reused. If it's done before it should take into account that we also want to support memcached.
Related to #168
After investigation, I prefer to use this module, which supports both Memcache and Redis.
The aws_elasticache_cluster
resource will make a cluster for memcached but it only supports a single instance group for redis. For Redis you should use a replication group. I would suggest using the cloudposse modules instead of just the provider.
Decision: combine Cloudposse Redis and Memcached as a single module with selection of redis or memcache by user:
Support both Redis and Memcached, ready for go backend to use.
PRs:
- Module: commitdev/terraform-aws-zero#32
- Infrastructure: #177
- Backend(go): commitdev/zero-backend-go#55