appleboy/lambda-action

Modify Lambda Function Timeout

arsandov opened this issue · 4 comments

When a new deployment is done to Lambda, the action resets the lambda basic settings to default. Is there a way to define the timeout as a variable or prevent the action from using resetting the lambda function setting to default values?
Added screenshot of default values for Lambda
image
Thanks!

I will add some parameter like as

  1. memory
  2. run time
  3. timeout
  4. description

Thanks for your feedback

Sounds good. Thank you @appleboy! We will be looking forward for the update.

@arsandov Try to the master branch or v0.0.5

      - name: default deploy
        uses: appleboy/lambda-action@master
        with:
          aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
          aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
          aws_region: ${{ secrets.AWS_REGION }}
          function_name: gorush
          zip_file: example/deployment.zip
          memory_size: 128
          timeout: 10
          handler: foobar

Awesome @appleboy, it works as expected. Thank you for adding this feature so fast!!!