Why does deploying AWS Amplify create a new CloudFront distribution every time. Bug? (since September 9th)

2

Usually, when deploying a new version of Amplify website, the existing CloudFrount distribution is used and updated. This has been the behavior for the past 9 months (2022).

But since September 9th 2022, when I deploy a new version of my Amplify website, it creates a new CloudFront distribution every time. My production live website is not updated (Route 53) since the old distribution is not updated.

Why this change in behavior? Is this a bug or expected?

Furthermore, email notifications for Amplify also stopped working today... Not sure if its a new Amplify build that brought in bugs.

Thanks

Expected behavior

Existing CloudFront distribution should be used and updated when deploying Amplify website. (Past behavior) Email notification should continue to work

Reproduction steps

  1. Deploy a Amplify website with an existing Cloudfront distribution
  2. Notice that a new Cloudfront distribution is created.
  3. Redeploy a change
  4. A 3rd Cloudfront distribution is created
feita há 2 anos248 visualizações
2 Respostas
0

This morning, seems like AWS was fixed. But, I am now getting this error: NoSuchDistribution: The specified distribution does not exist.

This makes sense since I deleted the multiple new CloudFront instances created on each Amplify deploy. Is there a way to tell Amplify (within the web console) to use previous/old CloudFront distribution ID?

respondido há 2 anos
0

I'm having the same exact problem but more recently. We hadn't make any update for a while. Did you ever figure out why?

respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas