AWS Lambda Deploy with YAML

YAML parameters for AWS Lambda Deploy

You can find the list with common parameters for all Buddy actions here.

NameTypeDescription
action
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to AWS_LAMBDA_DEPLOY.
function_name
Required
StringThe name of the Lambda function.
integration_hash
Required
StringThe ID of the integration.
region
Required
StringThe name of the Amazon region. The full list of regions is available here.
local_pathStringThe path in the repository.
deployment_excludesString[]The paths and/or files that will be left out during the deployment.

YAML example for AWS Lambda Deploy

actions:
- action: "Deploy function my-function"
type: "AWS_LAMBDA_DEPLOY"
integration_hash: "5ddb7c180fb38be67bd78a88a"
function_name: "my-function"
region: "us-east-1"
local_path: "/"
deployment_excludes:
- "/assets/"
- "file.txt"
deployment_includes:
- "/assets/assets-new/"
- "/assets/file.txt"