AITA for confessing to a mutual friend about my plans to leave my husband?

My husband Adrien (29M) and I (32F) have been married for 7 years and together for 8. We have a mutual friend, Carrie (28F) who has been Adrien’s friend for years before he met me. She is also friends with Adrien’s last girlfriend Tiara (28F) whom he dated before he met me. Tiara is Adrien’s one who got away.

All of Adrien’s friends and family still love Tiara and they can’t help but praise her. Carrie adores her. Adrien has never said that I am inferior to her but he has admitted that she is the one that got away and she can’t be replaced. When he sees her doing well in her life, he praises her to others. They were still friends and talk at least a few times a month. I’ve met her twice and she is as perfect as they all say. I can never live up to her. I wish I knew that and what she meant to Adrien before I married him.

Adrien got into a car accident and lost part of his memory. It’s not like movies. He can remember some things but others are a lot fuzzier and some memories he cannot recall, like most of the memories with Tiara. It also comes with emotional distance between a person and their memories. And he has never been more loving. I’m the only person in his eyes. It finally feels like I’m no longer living in the shadows. But I know that it’s temporary. He has been struggling with his memory loss and I have done everything to help him but once he gets all his memories of Tiara back he will not love me like this again. I can’t go back. I would rather be alone than his second choice. I will divorce him once he gets his memory back and is healthy.

Carrie was over at our house. She was looking for something she had left behind a few days ago and stumbled across my drawer of important things, like my passport, diary, divorce papers, insurance. She asked me what the divorce papers are and why they were half filled out. I confessed.

Carrie yelled at me for telling her. Not only am I am asshole for divorcing my husband, I am an asshole for telling her when she is friends with Adrien and is obliged to tell him. I feel awful. AITA?