How to create Redis Cache from S3 bucket

Hi,

I have migrated Redis cache from Account A to Account B of S3 bucket successfully, now want to create redis cache from terraform using ElastiCache Replication Group module. But when we try to provide arn value as part of the snapshot_arns, encountered below error message in agro ( its existing redis cache and cluster mode is enabled through terraform)

Terraform encountered an error. Summary: creating ElastiCache Replication Group (dev-us-feeds-general): InvalidParameterCombination: Slots must be provided when restoring from snapshot ARNs with cluster mode enabled

Any solutions much appreciated

There seems to be a long-standing issue related to this: aws_elasticache_replication_group error when restoring redis cluster from snapshot - Slots must be provided when restoring from snapshot ARNs with cluster mode enabled · Issue #5510 · hashicorp/terraform-provider-aws · GitHub

You can certainly add your upvote to it but it doesn’t look like there’s much traction though.