-
-
Notifications
You must be signed in to change notification settings - Fork 58
/
action.yml
73 lines (71 loc) · 2.89 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: 'AWS Lambda Deploy'
description: 'Deploying Lambda code to an existing function'
author: 'Bo-Yi Wu'
inputs:
aws_region:
description: 'AWS Region'
default: 'us-east-1'
aws_access_key_id:
description: 'AWS ACCESS KEY'
aws_secret_access_key:
description: 'AWS SECRET KEY'
aws_session_token:
description: 'AWS Session token'
aws_profile:
description: 'AWS profile'
function_name:
description: 'AWS lambda function name'
s3_bucket:
description: 'An Amazon S3 bucket in the same AWS Region as your function. The bucket can be in a different AWS account.'
s3_key:
description: 'The Amazon S3 key of the deployment package.'
s3_object_version:
description: 'AWS lambda s3 object version'
zip_file:
description: 'AWS lambda zip file'
source:
description: 'zip file list'
dry_run:
description: 'Set to true to validate the request parameters and access permissions without modifying the function code.'
debug:
description: 'Show debug message after upload the lambda successfully.'
publish:
description: 'Set to true to publish a new version of the function after updating the code.'
default: true
reversion_id:
description: 'Only update the function if the revision ID matches the ID that is specified.'
memory_size:
description: 'The amount of memory that your function has access to. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value must be a multiple of 64 MB.'
default: 0
timeout:
description: 'The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds.'
default: 0
handler:
description: 'The name of the method within your code that Lambda calls to execute your function.'
role:
description: 'The Amazon Resource Name (ARN) of the function execution role.'
runtime:
description: 'The identifier of the function runtime.'
environment:
description: 'Lambda Environment variables.'
layers:
description: 'A list of function layers, to add to the function execution environment. Specify each layer by its ARN, including the version'
image_uri:
description: 'URI of a container image in the Amazon ECR registry.'
subnets:
description: 'Select the VPC subnets for Lambda to use to set up your VPC configuration.'
securitygroups:
description: 'Choose the VPC security groups for Lambda to use to set up your VPC configuration.'
description:
description: 'A description of the function.'
tracing_mode:
description: 'Set Mode to Active to sample and trace a subset of incoming requests with AWS X-Ray.'
max_attempts:
description: 'the maximum number of times the waiter should attempt to check the resource for the target state'
default: 600
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'layers'
color: 'gray-dark'