getsentry / getsentry/sentry-javascript

Provide AWS Lambda Layer ARN in package

未关闭
#9,557 10 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
AWS Lambda Improvement
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
515

描述

### Problem Statement

I want to utilize AWS Lambda Layers in my setup but it's hard to know what features are included in the layer's versions. This way it's hard to track official Sentry package releases together with the layer's versions.

### Solution Brainstorm

If we could provide the AWS Lambda Layer version inside of the `@sentry/serverless` package we can use this to get matching version in out Lambda functions.

It could be a JSON file that just contains the ARN per region.
Example:

```json5
{
"us-east-1": "arn:aws:lambda:us-east-1:943013980633:layer:SentryNodeServerlessSDK:184",
"us-east-2": "arn:aws:lambda:us-east-2:943013980633:layer:SentryNodeServerlessSDK:184",
/* ... */
}
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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