forked from qxf2/py-lambda-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
24 lines (24 loc) · 770 Bytes
/
action.yml
File metadata and controls
24 lines (24 loc) · 770 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
name: Py Lambda Deploy
author: Mariam Maarouf
description: Deploy python code to AWS Lambda with dependencies in a separate layer.
inputs:
lambda_directory:
description: the directory with the lambda code
required: false
default: '.'
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: false
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'layers'
color: 'yellow'