My team had an amplify site that was associated with the domains "www.domain.com" and "domain.com". We then deleted those domain associations followed by the entire app from amplify. However, when we go to use those domains in a new cloudfront distribution they are seen as conflicting aliases. I verified they are conflicting aliases by running the following command
aws cloudfront list-conflicting-aliases --distribution-id DISTRIBUTION_ID --alias www.domain.com
The result of where the conflicting alias is to a distribution that we do not have and an account that is not ours.
Is this a matter of waiting longer for amplify to cleanup the cloudfront distribution on it's end or is there something else that we are missing here?