For the full list of changes, check out the Webiny 5.40.7external link release on GitHub.

Deployments
anchor

Deployment of Amazon Cloudfront Distributions - Ignoring Changes instagingProperty (#4401external link)
anchor

Upon deploying API, Admin, and Website applications, Webiny deploys Amazon Cloudfront distributions. Once initially deployed, during subsequent deployments, the distributions are only updated with the new changes. They are never recreated from scratch.

Learn more about Webiny’s cloud architecture in the Cloud Architecture documentation.

However, with the introduction of the new Pulumi version and because of a change in the way Pulumi handles the stagingexternal link property, the Cloudfront distributions would actually be recreated on the next deployment, which is certainly not the desired behavior. Especially if a custom domain was already associated with the distribution.

To fix this, we had to internally instruct Pulumi to ignore changes in the staging property, which will prevent the distributions from being recreated.

To this day, we’ve neved seen anybody relying on the stating property, so we’re confident this change won’t affect anyone. Still, if you are using it, please do give us a shout via our community Slackexternal link.