Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

New pattern submission - lambda-web-pr-previews-nodejs-sam

Aperta
#3,364 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@manishh-13 ci sta già lavorando.

Dal 19/10/2026.

  • #3365 di @manishh-13 — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
aws, github-actions, nodejs
Ambito
cloud, devops

Direzione di ricerca

The issue links pull request #3365, which contains the pattern implementation. Start by reviewing that pull request and its workflow and SAM files; the issue reports an end-to-end test in two AWS regions. The requested behavior is preview endpoints for pull requests, a production endpoint on merges to main, and cleanup when pull requests close; the work is already under way.

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

Descrizione

Pattern name: lambda-web-pr-previews-nodejs-sam

Pull request: https://github.com/aws-samples/serverless-patterns/pull/3365

Description:

A preview URL for every GitHub pull request, the way Vercel and Netlify do it, on a single AWS Lambda Web Function. A GitHub Actions workflow deploys each pull request to its own endpoint named pr-<number>, comments the URL on the pull request, keeps the same URL on every push and deletes the endpoint when the pull request is merged or closed. Merging to main deploys the prod endpoint. The workflows assume AWS IAM roles with GitHub OpenID Connect, and the preview role can change only pr-* endpoints, so pull request code cannot touch production.

Services used: AWS Lambda Web Functions, Amazon S3, AWS IAM (GitHub OIDC), GitHub Actions.

Language: Node.js
Framework: AWS SAM
Level: 300

Tested end to end in a live account in us-east-1 and eu-central-1, including a real GitHub repository (open, push, merge and close), then deleted with nothing left behind.

Lingua principale
Python
Stelle
1.8k
Fork
1.1k
Merge medio
3g 8h
PR unite (30g)
16

Preparare l'ambiente

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 aws-samples/serverless-patterns

Tutte le issue di aws-samples/serverless-patterns

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.