Webiny 5.33.4 Changelog
See what's new in Webiny version 5.33.4.
Deployments
Improved "Deploy Webiny Project" AWS CloudFormation Template (#2856 )
In case you missed it, in our previous 5.33.2 release, we’ve revisited ourDeployWebinyProject
AWS CloudFormation template and updated the set of permissions it deploys through multiple Amazon IAM policies.But, we didn’t stop there! With this release, we’ve taken it even further and ensured that the template and the list of permissions it includes fully follows the Principle of least privilege , making it more secure and easier for organizations to adopt it.
To quickly check out the changes, you can visit our GitHub repository .
DeployWebinyProject
AWS CloudFormation template. The template deploys necessary (least-privilege ) set of permissions into your AWS account, which also automatically get linked with an Amazon IAM user of your choosing (the user you plan to use upon running deployments).Introduced Prefixed Cloud Infrastructure (Pulumi) Resource Names (#2858 )
In order to make it easier to distinguish between Webiny-related deployed cloud infrastructure resources and other resources you already might have in your AWS account, apart from the default tags, we’re now also prefixing every resource name with thewby-
prefix. For example, if we were to take a look at the list of deployed AWS Lambda functions, we’d be able to see the following:Note that the prefix will only be applied for new Webiny projects, created with version 5.33.4 or greater.
Still, if you’d like to adopt the same naming convention within an existing Webiny project, you can do that by utilizing the newly introduced pulumiResourceNamePrefix
parameter, in your webiny.application.ts
configuration files.
For example, in the apps/core/webiny.application.ts
file, we’d need to perform the following addition:
import { createCoreApp } from "@webiny/serverless-cms-aws";
export default createCoreApp({ pulumiResourceNamePrefix: "wby-"});
The exact same addition then needs to be made in the remaining three webiny.application.ts
files:
apps/api/webiny.application.ts
apps/admin/webiny.application.ts
apps/website/webiny.application.ts
webiny deploy
command.