Giter VIP home page Giter VIP logo

update-lambda's Introduction

update-lambda

Github Action to Update Lambda Function

How to use

Works with existing zip package, can be created in steps or job prior to this action.

Create secrets:

  • AWS_REGION
  • AWS_SECRET_ID
  • AWS_SECRET_KEY
name: Test Run
on:
  push
jobs:
  lambda:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - run: echo "THIS IS A TEST PACKAGE" > file.txt
      - run: zip lambda.zip file.txt
      - uses: stcalica/update-lambda
        with:
          package: lambda.zip
          function-name: TEST-FUNCTION
          AWS_REGION: ${{ secrets.AWS_REGION }}
          AWS_SECRET_ID: ${{ secrets.AWS_SECRET_ID }}
          AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}

update-lambda's People

Contributors

stcalica avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

update-lambda's Issues

getaddrinfo EAI_AGAIN lambda.na-east-1.amazonaws.com

I'm trying to update my code but I'm getting this error. I have pasted the log below, any idea what's wrong?

2020-07-21T17:49:04.2080407Z Error: getaddrinfo EAI_AGAIN lambda.na-east-1.amazonaws.com
2020-07-21T17:49:04.2082882Z ##[error]NetworkingError: getaddrinfo EAI_AGAIN lambda.na-east-1.amazonaws.com
2020-07-21T17:49:04.2094619Z     at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) {
2020-07-21T17:49:04.2095346Z   message: 'getaddrinfo EAI_AGAIN lambda.na-east-1.amazonaws.com',
2020-07-21T17:49:04.2095875Z   errno: 'EAI_AGAIN',
2020-07-21T17:49:04.2096413Z   code: 'NetworkingError',
2020-07-21T17:49:04.2096840Z   syscall: 'getaddrinfo',
2020-07-21T17:49:04.2097305Z   hostname: 'lambda.na-east-1.amazonaws.com',
2020-07-21T17:49:04.2097733Z   region: 'na-east-1',
2020-07-21T17:49:04.2098007Z   retryable: true,
2020-07-21T17:49:04.2098436Z   time: 2020-07-21T17:49:04.204Z

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.