getsentry / getsentry/sentry-javascript

Provide AWS Lambda Layer ARN in package

Open
#9,557 10 comments 1 reaction 0 assignees View on GitHub
AWS Lambda Improvement
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

### 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",
/* ... */
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.