appleboy / lambda-action

GitHub Action for Deploying Lambda code to an existing function

Home Page:https://github.com/marketplace/actions/aws-lambda-deploy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deployment fails on empty "layers" input

lech-r opened this issue · comments

commented

According to AWS Docs "layers" input is not required.
This used to work, last time about March 28th (2 days ago).

Fails this morning with this error:
ValidationException: 1 validation error detected: Value '[]' at 'layers' failed to satisfy constraint

Please use the stable version

    name: deploy lambda from source
    runs-on: ubuntu-latest
    steps:
      - name: checkout source code
        uses: actions/checkout@v3
      - name: default deploy
        uses: appleboy/lambda-action@v0.1.5

I also revert the previous commit.