From 546cc93b011228febd8bcd0ec5d025f7bb553b04 Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Wed, 19 Oct 2022 23:16:36 +0800 Subject: [PATCH] update lambda README --- serverless/aws/README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/serverless/aws/README.md b/serverless/aws/README.md index 48d7d0f..06f1e06 100644 --- a/serverless/aws/README.md +++ b/serverless/aws/README.md @@ -13,12 +13,10 @@ Self-contained Lambda ZIP: Building the Lambda ZIP yourself: ```sh -git clone https://github.com/protomaps/PMTiles -cd serverless/aws -python create_lambda_function.py +npm run build ``` -Upload the resulting `lambda_function.zip` using the Lambda console. +Upload the resulting `dist/lambda_function.zip` using the Lambda console or paste `dist/index.js`. Configure these Lambda environment variables: @@ -52,7 +50,7 @@ API Gateway (HTTP or REST): ### Monitoring - +TBD ### Lambda@Edge