Deploy to AWS Lambda

Buddy lets you automatically update and invoke Lambda functions on AWS infrastructure on every push to branch.

Image loading...Example pipeline with Lambda deployment and invocation

Tip
If you are new to Buddy, check out our workflow guides that will tell you how to build, test and deploy your type of application.
Hint

📚 Learn more about Amazon Lambda action features, integrations and alternatives.

Configure pipeline in Buddy

  1. Create a new project in Buddy and select your Git provider:

Image loading...Creating a new project

  1. Add a new pipeline and configure the details: name, trigger mode, and branch from which you want to deploy.

Image loading...Adding a new pipeline

Configure Lambda deployment

Warning
Before you add the actions, make sure that your AWS user has proper Lambda permissions assigned and full programmatic access to AWS.

Buddy offers two Lambda actions:

  • Lambda Deploy: updates the definition of the selected function
  • Lambda Invoke: runs the function with provided parameters

Image loading...AWS actions

Lambda Deploy

This action has five configuration tabs:

  • Deploy – here you set the repository path and files to ignore (optional)
  • Target – here you select the AWS integration, AWS region, and target function
  • 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

Image loading...AWS Lambda Deploy configuration

Lambda Invoke

This action is very similar to Lambda Deploy in terms of configuration, with key settings moved to the first tab:

  • Trigger – here you select the AWS integration, AWS region, and target function, and define the payload, client context, and invocation options

Image loading...AWS Lambda Invoke configuration

Last modified on Sep 24, 2024