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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则