Cognito, Custom Domain and Cloudfront

0

So I want to have a Cognito App Client configured with my own domain, this I can do and it seems to create an alias target in cloudfront for me to put in my DNS.

My question is where is this cloudfront configuration? I can't see it under my account cloudfront distributions.....? so where is it setup?

The issue really arises when I apply my cloud formation for a second time, after a successful cleanup from the first deployment my second deployment fails as my domain name is already in use by the cloud front distribution. I just can't see where. If I use the console to recreate the domain configuration it works just fine.

Any tips? insights?

Thanks!

1개 답변
0
수락된 답변

CF distribution is in Cognito service managed account (it is not created in customer's account).

What error do you get from cloudformation? if you can do it from the console, you should be able to do it from cloudformation, might be just taking time to cleanup and reflect that the domain has been freed up? keep in mind that usually creating custom domain is not a repetitive process, it is a one time setup

AWS
전문가
답변함 4년 전
profile picture
전문가
검토됨 2달 전

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

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

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

관련 콘텐츠