Run AWS CLI & CDK commands
The AWS CLI and AWS CDK actions let you interact with various Amazon Web Services resources and services, as well as provision and manage AWS Cloud Development Kit projects.
Example pipeline with AWS CLI commands
- Create a new project in Buddy and select your Git provider.
Creating a new project
- Add a new pipeline and configure the details: name, trigger mode, and a branch from which you want to deploy.
Adding a new pipeline
- Look up and click the CLI on the action list to add it to the pipeline:
- The action launches a container either with AWS CLI or AWS CDK CLI preinstalled in the container. Both actions are very similar and have five configuration tabs:
- Run – here you select the AWS integration and provide the commands to run
- Environment – if your process requires specific dependencies, you can install them here. The files will stay cached in the container for future pipeline runs
- Variables – here you can view your AWS integration variables, and create your own if required
- Conditions – here you configure the trigger conditions for which the action will run
- Options – here you define the action's name and behavior on failure and timeout
AWS CLI action configuration
- When ready, click Add this action to finish configuration.
Last modified on January 25, 2024