diff --git a/docs/platforms/javascript/guides/aws-lambda/install/esm-npm.mdx b/docs/platforms/javascript/guides/aws-lambda/install/esm-npm.mdx index 015b716e8bc12..8a1010140d9ee 100644 --- a/docs/platforms/javascript/guides/aws-lambda/install/esm-npm.mdx +++ b/docs/platforms/javascript/guides/aws-lambda/install/esm-npm.mdx @@ -139,7 +139,7 @@ export const handler = Sentry.wrapHandler(async (event, context) => { ### 4. Load the SDK -To load the SDK before your function starts, you need to preload the `instrumentation.mjs` by setting the `NODE_OPTIONS` environment variable: +To load the SDK before your function starts, you need to preload the `instrument.mjs` by setting the `NODE_OPTIONS` environment variable: ```bash NODE_OPTIONS="--import instrument.mjs"