Adding the 'AWS CDK deploy' action
Use the following instructions to add the AWS CDK deploy action to your workflow.
Before you begin
Before you can add the AWS CDK deploy action to your workflow, complete the following tasks:
-
Have an AWS CDK app ready. You can write your AWS CDK app using AWS CDK v1 or v2, in any programming language supported by the AWS CDK. Make sure your AWS CDK app files are available in:
-
A CodeCatalyst source repository, or
-
A CodeCatalyst output artifact generated by another workflow action
-
-
Bootstrap your AWS environment. To bootstrap, you can:
-
Use one of the methods described in How to bootstrap in the AWS Cloud Development Kit (AWS CDK) Developer Guide.
-
Use the AWS CDK bootstrap action. You can add this action in the same workflow as your AWS CDK deploy, or in a different one. Just make sure the bootstrap action runs at least once prior to running the AWS CDK deploy action so that the necessary resources are in place. For more information about theAWS CDK bootstrap action, see Bootstrapping an AWS CDK app with a workflow.
For more information about bootstrapping, see Bootstrapping in the AWS Cloud Development Kit (AWS CDK) Developer Guide.
-