You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for restoring a Serverless Redis cluster from an existing snapshot by exposing the snapshot_arns_to_restore argument in this module.
Why
AWS ElastiCache for Redis now offers a serverless deployment option.
The Terraform resource aws_elasticache_serverless_cache supports snapshot_arns_to_restore, but the module does not currently provide a way to pass this argument.
This feature is crucial for migrating a serverful Redis cluster to a new serverless Redis using a snapshot.
The module should allow users to specify snapshot_arns_to_restore when creating a serverless ElastiCache Redis.
A new serverless cluster is successfully restored from the provided snapshot ARN without additional manual steps.
Use Case
We want to migrate an existing (serverful) ElastiCache Redis cluster to serverless by creating a snapshot of the existing cluster and then restoring a new serverless cluster using that snapshot.
Describe Ideal Solution
A new variable serverless_snapshot_arns_to_restore is exposed.
The value is directly passed to the aws_elasticache_serverless_cache.default resource.
The README is updated to illustrate how to use this feature.
Terraform plan/apply completes successfully, creating the serverless cluster from the snapshot.
Alternatives Considered
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Describe the Feature
What
Add support for restoring a Serverless Redis cluster from an existing snapshot by exposing the
snapshot_arns_to_restore
argument in this module.Why
aws_elasticache_serverless_cache
supportssnapshot_arns_to_restore
, but the module does not currently provide a way to pass this argument.References
aws_elasticache_serverless_cache
Proposed Solution
serverless_snapshot_arns_to_restore
.aws_elasticache_serverless_cache.default
resource inmain.tf
.Example Usage
Expected Behavior
snapshot_arns_to_restore
when creating a serverless ElastiCache Redis.Use Case
We want to migrate an existing (serverful) ElastiCache Redis cluster to serverless by creating a snapshot of the existing cluster and then restoring a new serverless cluster using that snapshot.
Describe Ideal Solution
serverless_snapshot_arns_to_restore
is exposed.aws_elasticache_serverless_cache.default
resource.Alternatives Considered
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: