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!

AWS
Andy
preguntada hace 4 años999 visualizaciones
1 Respuesta
0
Respuesta aceptada

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
EXPERTO
respondido hace 4 años
profile picture
EXPERTO
revisado hace 2 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas