cloudposse / terraform-aws-elasticache-redis

Terraform module to provision an ElastiCache Redis Cluster
https://cloudposse.com/accelerate
Apache License 2.0
141 stars 244 forks source link

Support restoring from a snapshot #96

Closed skang0601 closed 3 years ago

skang0601 commented 3 years ago

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Slack Community

Describe the Feature

The elasticache replication group resource allows an optional parameter to restore from a snapshot. This module should support this parameter.

Expected Behavior

When snapshot_arns passed into the module, the created cluster is created from the snapshot. By default this should just be an empty list.

Use Case

From recovering from an older version of the redis cluster

Describe Ideal Solution

New variable snapshot_arns added and passed to the replication group resource

Alternatives Considered

Explain what alternative solutions or features you've considered.

Additional Context

Add any other context or screenshots about the feature request here.