Skip to content

Commit e66d140

Browse files
authored
chore: support layers. (#34)
* chore: support layers. Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
1 parent 1e05c13 commit e66d140

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM appleboy/drone-lambda:1.2.9-linux-amd64
1+
FROM appleboy/drone-lambda:1.3.0-linux-amd64
22

33
COPY entrypoint.sh /entrypoint.sh
44
RUN chmod +x /entrypoint.sh

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ See [action.yml](./action.yml) for more detailed information.
162162
* subnets - Select the VPC subnets for Lambda to use to set up your VPC configuration.
163163
* securitygroups - Choose the VPC security groups for Lambda to use to set up your VPC configuration.
164164
* description - A description of the function.
165+
* layers - A list of function layers, to add to the function's execution environment. Specify each layer by its ARN, including the version.
165166

166167
See the [UpdateFunctionConfiguration](https://docs.amazonaws.cn/en_us/lambda/latest/dg/API_UpdateFunctionConfiguration.html) for detail information.
167168

action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ inputs:
4848
description: 'The identifier of the function runtime.'
4949
environment:
5050
description: 'Lambda Environment variables.'
51+
layers:
52+
description: 'A list of function layers, to add to the function execution environment. Specify each layer by its ARN, including the version'
5153
image_uri:
5254
description: 'URI of a container image in the Amazon ECR registry.'
5355
subnets:

0 commit comments

Comments
 (0)