Feature idea: Lambda Environment Variables set from deployment environment variables

Aperta
#321 3 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
aws, javascript, nodejs
Ambito
cli, cloud

Direzione di ricerca

Start by locating the existing deploy.env handling and the deployment command's environment-variable flow. Define the accepted prefix convention and how values map into the Lambda runtime environment, then identify tests or deployment checks that would demonstrate the mapping; the issue names no specific files or tests.

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

Descrizione

enhancement hacktoberfest

The deploy.env mechanism is fine, but doesn't work great for secrets, as the build/deploy process has to create/modify the file itself to add secret values. Would be great to have a mechanism to include values from the deploy-time environment to the runtime environment. Perhaps something like a convention such that all environment variables with a prefix are automatically deployed. for instance:

setting:
LAMBDA_NODE_DEPLOY_FOO=bar

would be funcitonally equivalent of adding
FOO=bar
to the deploy.env file.

Don't want to go and try to build a PR for this if it's not something that would potentialy be accepted.

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.