How do you handle changes to globally replicated redis clusters. eg when the primary fails over?

I am experimenting with '‘aws_elasticache_global_replication_group’ and ‘aws_elasticache_replication_group’

The question i have is how do I resolve terraform differences during a failover event?