diff --git a/serverless/aws/README.md b/serverless/aws/README.md index d47892e..bb18f7c 100644 --- a/serverless/aws/README.md +++ b/serverless/aws/README.md @@ -18,7 +18,7 @@ Building the Lambda ZIP yourself: npm run build ``` -Upload the resulting `dist/lambda_function.zip` using the Lambda console or paste `dist/index.js`. +Upload the resulting `dist/lambda_function.zip` using the Lambda console or paste `dist/index.mjs`. Configure these Lambda environment variables: @@ -48,10 +48,6 @@ API Gateway (HTTP or REST): } ``` -### Monitoring - -TBD - ### Lambda@Edge Lambda@Edge's multi-region features have little benefit when fetching data from S3 in a single region, and Lambda@Edge [doesn't support](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/edge-functions-restrictions.html) environment variables or responses over 1 MB. For globally distributed caching, use CloudFront in combination with Lambda Function URLs.