CNAMEAlreadyExists

0

I am trying to associate a CNAME record in my route53 hosted zone to a CloudFront distribution and am seeing this error message:

com.amazonaws.services.cloudfront.model.CNAMEAlreadyExistsException: One or more of the CNAMEs you provided are already associated with a different resource. (Service: AmazonCloudFront; Status Code: 409; Error Code: CNAMEAlreadyExists; Request ID: 3349d478-c36e-45aa-a658-8e0b7ef76d01; Proxy: null)

I have no other cloudfront distributions. Please advise.

Thanks

demandé il y a 3 ans263 vues
1 réponse
0

This has to do with attempting to use an S3 & Cloudfront deployment after using the amplify console kept failing at the build stage. Using python > 3.7 in lambdas caused a backend build error which was resolved using:

https://github.com/aws-amplify/amplify-console/issues/595#issuecomment-761049327

Erasing the S3 Cloudfront instances and erasing the custom domain from wihtin the amplify console then re-configuring it sorted out all the issues.

The confusing part was an error message referencing the domain being associated with another cloudfront distribution when there was no other cloudfront distribution.

répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions