Skip to content

Commit 3dcb162

Browse files
author
Luca Forstner
authored
Update aws serverless require flag (#10016)
1 parent bb11816 commit 3dcb162

File tree

1 file changed

+2
-2
lines changed
  • docs/platforms/javascript/guides/aws-lambda/container-image

1 file changed

+2
-2
lines changed

docs/platforms/javascript/guides/aws-lambda/container-image/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Replace `VERSION` with a specific version number (for example, 28). You can see
2222

2323
Set the following environment variables in AWS:
2424

25-
- Set `NODE_OPTIONS` to `-r @sentry/aws-serverless/dist/awslambda-auto`
25+
- Set `NODE_OPTIONS` to `-r @sentry/aws-serverless/awslambda-auto`
2626
- Set `SENTRY_DSN` to your Sentry's DSN
2727
- Set `SENTRY_TRACES_SAMPLE_RATE` to your preferred [sampling rate](/platforms/python/configuration/sampling/#sampling-transaction-events) for transactions
2828

@@ -31,7 +31,7 @@ Alternatively, you can also set the environment variables in the Dockerfile:
3131
<SignInNote />
3232

3333
```docker {tabTitle: Dockerfile}
34-
ENV NODE_OPTIONS="-r @sentry/aws-serverless/dist/awslambda-auto"
34+
ENV NODE_OPTIONS="-r @sentry/aws-serverless/awslambda-auto"
3535
ENV SENTRY_DSN="___PUBLIC_DSN___"
3636
ENV SENTRY_TRACES_SAMPLE_RATE="1.0"
3737
```

0 commit comments

Comments
 (0)