Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#3,364 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

@manishh-13 đang làm issue này rồi.

Từ ngày 19/10/2026.

  • #3365 của @manishh-13 — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
aws, github-actions, nodejs
Lĩnh vực
cloud, devops

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
1.8k
Fork
1.1k
Merge trung bình
3 ngày 8 giờ
Pull request đã merge (30 ngày)
16

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của aws-samples/serverless-patterns

Tất cả issue của aws-samples/serverless-patterns

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.