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

已提問 3 年前檢視次數 262 次
1 個回答
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.

已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南