One or more of the CNAMEs you provided are already associated with a different resource.

0

I created a cloudfront distribution earlier today, with some custom domains [sub1.domain.com, sub2.domain.com]. i disabled it and then I created a new distribution. I am trying to the add the previously used custom domain on the disabled distribution, then i get the following error. "One or more of the CNAMEs you provided are already associated with a different resource.". the thing is, I can't find the previously disabled distribution. even after using aws-cli. But then i have another cloudfront distribution on another aws account using the same domain could that be whats causing the issue?.

One thing to note is: the current aws account I'm getting this issue from has no R53 or any services configured. apart from containers running on ECS and their ALB loadbalancers configured on EC2.

profile picture
david0x
질문됨 2달 전391회 조회
1개 답변
1
수락된 답변

I recreated the same scenario with another domain specified on another distribution! and i got the same error. it seems you can't actually use a domain/subdomain used on another distribution configured on another aws account.

profile picture
david0x
답변함 2달 전
profile picture
전문가
검토됨 4시간 전
profile picture
전문가
검토됨 2달 전
profile picture
전문가
검토됨 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠