Updating Lambda that was using 8.10 won't update anymore and How to end Travis with fail after unsuccessful deploy?

Aperta
#525 11 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
aws, javascript, node.js
Ambito
cli, cloud

Direzione di ricerca

Start by reproducing the AWS Lambda update with AWS_RUNTIME=nodejs12.x and the Travis deployment failure described in the issue. Trace node-lambda's deploy entry point and its handling of deployment errors; done means supported runtime updates no longer use nodejs8.10 and Travis reports deployment failures as failed builds.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Two issues.

  1. Updating a lambda with runtime of 8 to 12 now fails to deploy with a message:

My .env file has AWS_RUNTIME=nodejs12.x set when calling deploy. I can verify that it is using it, because the log has Runtime: 'nodejs12.x', string before it fails.

The runtime parameter of nodejs8.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs12.x) while creating or updating
 functions.

Any way to force update it? I had to manually log into AWS and change the version in the lambda.

  1. How can I end Travis with a fail instead of success on any type of fail to deploy thrown by node-lambda?
Lingua principale
JavaScript
Stelle
1.4k
Fork
185
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di motdotla/node-lambda

Tutte le issue di motdotla/node-lambda

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.