-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathaction.yaml
More file actions
30 lines (29 loc) · 781 Bytes
/
action.yaml
File metadata and controls
30 lines (29 loc) · 781 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
30
name: AWS Lambda python deploy
author: Den Zalman
description: Deploy python 3.8 code to AWS Lambda with separate dependencies layer
inputs:
lambda_region:
description: 'Lambda AWS Region'
required: false
default: 'us-east-1'
requirements_txt:
description: Requirements file name
required: false
default: 'requirements.txt'
lambda_layer_arn:
description: Lambda layer's ARN for dependencies
required: false
lambda_function_name:
description: Lambda function name
required: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.requirements_txt }}
- ${{ inputs.lambda_layer_arn }}
- ${{ inputs.lambda_function_name }}
- ${{ inputs.lambda_region }}
branding:
icon: 'upload-cloud'
color: 'orange'