You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GitHub Action - AWS Lambda Layer Publish with compatible runtime
Deploy a layer to aws lambda
Usage
Secrets
Add Secret before this action. Settings > Secrets > Add a new secret
AWS_REGION
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
Example
- name: AWS Lambda Layer Publishuses: killdozerx2/aws-lambda-publishlayer@v1.2.0env:
AWS_REGION: ${{ secrets.AWS_REGION }}AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}with:
layer_name: TargetFunctionNamezip_file: path/to/file.zipdescription: 'verbose description of the layer, not required'# An array of compatible runtimes, pass as a string, remember to json-stringify the array before including it here, not requiredcompatible_runtimes: '["any", "aws", "compatible", "runtime"]'
Make sure to use the JSON array format rather than the YAML sequence format
Important
This action was forked from taotao2345/aws-lambda-publishlayer.
However, @taotao has not reacted to the pull request and hence this action exists, if you are @taotao or you know @taotao please consider accepting/rejecting the ppull_request.