Overview
anchor

As mentioned in the changelog, with this release, we’ve decided to update Pulumi to version 6.

And although this update should not cause any breaking changes in your existing infrastructure code, we’ve still compiled a list of all of the things you can expect upon doing your first redeployment after the upgrade.

Note that, on top of the changes listed in this article, you should pay extra attention to deployment logs in case you have custom cloud infrastructure (Pulumi) code in your project.

To deploy necessary cloud infrastructure resources, by default, Webiny relies on Pulumi, a modern infrastructure as code framework. Find out more in the following IaC with Pulumi article.

With the 5.40.0 release, by default, the deployment (Pulumi) logs are hidden when deploying from local machines. To see the logs, you can append the --deployment-logs flag upon running the webiny deploy command.

Notable Changes
anchor

Pulumi Installation
anchor

Upon running the webiny deploy command for the first time after the upgrade, you will see the new Pulumi version being downloaded and installed.

Pulumi v6 DownloadPulumi v6 Download
(click to enlarge)

Provider Updates
anchor

Pulumi will report provider updates on resources, for example:

Provider UpdatesProvider Updates
(click to enlarge)

This is due to the fact that the underlying @pulumi/awsexternal link package has been updated.

For more information on Pulumi providers, please refer to the Pulumi documentationexternal link.

tagsAllandtagsProperties
anchor

Upon deploying your project, multiple tags-related updates will be reported, for example:

Tags Related UpdatesTags Related Updates
(click to enlarge)

As we can see, instead of just tags, Pulumi is now using the tagsAll and tags properties.

As explained in Terraform documentationexternal link, essentially, the tags property contains only the tags that were set upon resource definition, while the tagsAll property contains all tags that are set on the resource, including those that were set on the provider level.

Amazon Cloudwatch - Event Rules
anchor

Two changes can be seen when Amazon Cloudwatch event rules are deployed.

First, a change of the forceDestroy property, for example:

Event RulesEvent Rules
(click to enlarge)

Per Pulumi documentationexternal link, the forceDestroy property is used to delete managed rules created by AWS. Since Webiny is not using this property, you can safely ignore this change.

Another change that can be seen is a change of the isEnabled property. This is due to the fact that the property has been deprecated in favor of the state property. This change is also safe to ignore, as it has been handled internally by Webiny.

Amazon Cognito User Pool Client Changes
anchor

A couple of changes will be reported when Amazon Cognito user pool client is deployed:

Event RulesEvent Rules
(click to enlarge)

As none of these properties are used by Webiny, you can safely ignore these changes.

For more information on these properties, please refer to the Pulumi documentationexternal link.

Amazon Cloudfront Distributions -stagingProperty
anchor

A change in the staging property of Amazon Cloudfront distributions will be reported:

Cloudfront StagingCloudfront Staging
(click to enlarge)

Webiny is not using the staging property, so you can safely ignore this change.

For more information on the staging property, please refer to the AWS documentationexternal link.

State Machine Publish
anchor

A change in the publish property of state machines will be reported:

State Machine PublishState Machine Publish
(click to enlarge)

Webiny is not using the publish property, so you can safely ignore this change.

For more information on the publish property, please refer to the AWS documentationexternal link.