Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#3,364 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

@manishh-13 已经在做这个了。

开始于 2026年10月19日。

  • #3365 来自 @manishh-13 —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
停滞
技术栈
aws, github-actions, nodejs
领域
cloud, devops

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Python
星标
1.8k
派生
1.1k
平均合并
3 天 8 小时
30 天内合并 PR
16

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

aws-samples/serverless-patterns 的其他 Issue

查看 aws-samples/serverless-patterns 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。