How to add shards to a Redis cluster managed by Terraform without loosing all state?
You can create aws_elasticache_replication_group resource and use data source aws_elasticache_cluster to retrieve an actual amount of nodes. This way you should not write ignore_changes.