forked from qubitro/action-lambda-python-zip
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
25 lines (25 loc) · 823 Bytes
/
action.yml
File metadata and controls
25 lines (25 loc) · 823 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
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
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.requirements_txt }}
- ${{ inputs.lambda_layer_arn }}
- ${{ inputs.lambda_function_name }}
- ${{ inputs.lambda_region }}
branding:
icon: 'cloud-lightning'
color: 'white'