forked from qubitro/action-lambda-python-zip
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
29 lines (29 loc) · 929 Bytes
/
action.yml
File metadata and controls
29 lines (29 loc) · 929 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: AWS Lambda Zip Deploy - Python
author: Qubitro
description: Zip deploy to AWS Lambda with requirements in a separate layer.
inputs:
requirements_txt:
description: the name/path to the requirements.txt file
required: true
default: 'requirements.txt'
lambda_layer_arn:
description: The ARN for the Lambda layer the dependencies should be pushed to without the version (every push is a new version).
required: true
lambda_function_name:
description: The Lambda function name. Check the AWS docs/readme for examples.
required: true
s3_bucket:
description: s3 bucket to put deps in
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.requirements_txt }}
- ${{ inputs.lambda_layer_arn }}
- ${{ inputs.lambda_function_name }}
- ${{ inputs.lambda_region }}
- ${{ inputs.s3_bucket }}
branding:
icon: 'cloud-lightning'
color: 'white'