Deployments and Infrastructure > Extensions > Resource Name Prefix
Resource Name Prefix
Learn how to customize the prefix used for all Pulumi resource names in your Webiny project.
WHAT YOU'LL LEARN
- how to change the default
wby-prefix used for all deployed AWS resource names
Overview
By default, all AWS resources deployed by Webiny are prefixed with wby-. You can change this via Infra.PulumiResourceNamePrefix in webiny.config.tsx.
Configuration
webiny.config.tsx
import React from "react";
import { Infra } from "webiny/extensions";
export const Extensions = () => {
return (
<>
<Infra.PulumiResourceNamePrefix prefix={"myproj-"} />
</>
);
};Redeploying After Changes
After making changes, redeploy by running the webiny deploy command:
yarn webiny deployUse --env <name> to target a specific environment if needed.