Skip to content
tag

GitHub Action

AWS Lambda Layer Publish

v1.0.0 Latest version

AWS Lambda Layer Publish

tag

AWS Lambda Layer Publish

Run PublishLayerVersion

Installation

Copy and paste the following snippet into your .yml file.

              

- name: AWS Lambda Layer Publish

uses: taotao2345/[email protected]

Learn more about this action in taotao2345/aws-lambda-publishlayer

Choose a version

GitHub Action - AWS Lambda Layer Publish

Run PublishLayerVersion

Usage

Secret

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: taotao2345/[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