Drone plugins > AWS Lambda
AWS Lambda
by devops-israel
The plugin automatically deployes a serverless function to AWS Lambda from a zip file located in an S3 bucket. This plugin does not handle creating or uploading the zip file.
Example
kind: pipeline
type: docker
name: default
steps:
- name: deploy-lambda
image: omerxx/drone-lambda-plugin
settings:
function_name: my-function
s3_bucket: some-bucket
file_name: lambda-dir/lambda-project-${DRONE_BUILD_NUMBER}.zip
Properties
aws_access_key_id
stringoptionalThe AWS access key ID
Secret recommendedDefault: none
aws_secret_access_key
stringoptionalAWS secret key. Access and secret key variables override credentials stored in config files.
Secret recommendedDefault: none
aws_default_region
stringoptionalAWS region. This variable overrides the default region of the in-use profile, if set.
Default: none
function_name
stringrequiredName of the lambda function as set in AWS.
Default: none
s3_bucket
stringrequiredName of the S3 bucket in which the zip package for deployment is stored.
Default: none
file_name
stringrequiredName of the file in S3. Can be prefixed like my-directory/my-zip-package.zip.
Default: none