Getting Started
Deploying your CDK project is easy, just follow the steps below.1
Inject DEPLIFY_STACK_ID env variable as part of your cdk stack names.
Note This step is optional, but highly reccommended.
2
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.
3
Create a CDK Provider stack in Deplify
Note Deplify will handle running
cdk synth & cdk deploy so do not add them in your build configuration. Deplify will always use the version of CDK defined in your package dependencies.- 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
4
All Done
Your project will begin deployment. Track the deployment in the dashboard.