Skip to content

AWS Lambda Layer Publish with compatible runtime

Actions
Run PublishLayerVersion
v1.2.0
Latest
Star (6)

GitHub Action - AWS Lambda Layer Publish with compatible runtime

GitHub release (latest by date) semantic-release

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 Publish
  uses: killdozerx2/[email protected]
  env:
    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: TargetFunctionName
    zip_file: path/to/file.zip
    description: '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 required
    compatible_runtimes: '["any", "aws", "compatible", "runtime"]' 

Compatible Runtime Values

  • Up-to-date list of available runtimes can be found at the AWS Lambda runtime developer guide
  • 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.

AWS Lambda Layer Publish with compatible runtime is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Run PublishLayerVersion
v1.2.0
Latest

AWS Lambda Layer Publish with compatible runtime is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.