Release Notes > Older Releases > 5.40.7
Webiny 5.40.7 Changelog
See what's new in Webiny version 5.40.7.
Deployments
Deployment of Amazon Cloudfront Distributions - Ignoring Changes instaging
Property (#4401)
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 staging
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 Slack.