New pattern submission - lambda-web-pr-previews-nodejs-sam
Maintainer thường phản hồi trong vòng 2 ngày
Đá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
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
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aws-samples/serverless-patterns
-
New pattern submission - lambda-web-agentcore-nodejs-terraformCó thể đã có người làm @manishh-13 đã nhận 8 ngày trước. Đang mở
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 22/100
aws-samples/serverless-patterns#3358 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
aws-samples/serverless-patterns#3345 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Omarvio.comĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
aws-samples/serverless-patterns#3335 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
New pattern submission - sfn-lambda-microvms-callback-samCó thể đã có người làm @manishh-13 đã nhận 20 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
aws-samples/serverless-patterns#3331 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
aws-samples/serverless-patterns#3318 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của aws-samples/serverless-patterns
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
khuisman/mcp-gee-sweet#1166 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
lugassawan/swe-workbench#823 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
gramaziokohler/compas_timber#870 ·
-
security-scan-failure
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
semantica-agi/semantica#2089 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
autowarefoundation/autoware_carla_scenario#500 ·
Maintainer thường phản hồi trong vòng 1 ngày