-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
40 lines (40 loc) · 1.1 KB
/
action.yml
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
30
31
32
33
34
35
36
37
38
39
40
name: Lambda layer for python
author: Lukáš Orčík
description: Deploy python code to AWS Lambda with dependencies 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 (every push is a new version).
required: true
architectures:
description: Target architectures
required: false
default: 'x86_64'
runtimes:
description: Compatible runtimes in space-separated string
required: false
default: 'python3.10'
package_path:
description: Package path
required: true
default: 'common'
layer_description:
description: Layer description
required: false
default: 'verion 0.1.24'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.requirements_txt }}
- ${{ inputs.lambda_layer_arn }}
- ${{ inputs.architectures }}
- ${{ inputs.runtimes }}
- ${{ inputs.package_path }}
- ${{ inputs.layer_description }}
branding:
icon: 'layers'
color: 'blue'