Getting Started
Deploying your CDK project is easy, just follow the steps below.Inject DEPLIFY_STACK_ID env variable as part of your cdk stack names.
Note This step is optional, but highly reccommended.
Ensure CDK code is environment agnostic
Deplify will handle deploying your CDK code to the correct AWS account + region. So ensure you are not hardcoding any environment details in your CDK code.
Create a CDK Provider stack in Deplify
- Hit the
Add a Stackbutton in the environment view. - Choose the
CDK Providerblueprint. - If your project requires custom build commands, ensure you fill them in. In most cases, you can leave the defaults.
- Click
Create Stack