appleboy / lambda-action

GitHub Action for Deploying Lambda code to an existing function
https://github.com/marketplace/actions/aws-lambda-deploy
MIT License
392 stars 56 forks source link

Deployment fails on empty "layers" input #55

Closed lech-r closed 1 year ago

lech-r commented 1 year ago

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

appleboy commented 1 year ago

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.