Skip to content

Commit

Permalink
chore: support layers. (#34)
Browse files Browse the repository at this point in the history
* chore: support layers.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Jul 23, 2021
1 parent 1e05c13 commit e66d140
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM appleboy/drone-lambda:1.2.9-linux-amd64
FROM appleboy/drone-lambda:1.3.0-linux-amd64

COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ See [action.yml](./action.yml) for more detailed information.
* subnets - Select the VPC subnets for Lambda to use to set up your VPC configuration.
* securitygroups - Choose the VPC security groups for Lambda to use to set up your VPC configuration.
* description - A description of the function.
* layers - A list of function layers, to add to the function's execution environment. Specify each layer by its ARN, including the version.

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

Expand Down
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ inputs:
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:
Expand Down

0 comments on commit e66d140

Please sign in to comment.