update lambda README

This commit is contained in:
Brandon Liu
2022-10-19 23:16:36 +08:00
parent c38b9dfe31
commit 546cc93b01

View File

@@ -13,12 +13,10 @@ Self-contained Lambda ZIP:
Building the Lambda ZIP yourself: Building the Lambda ZIP yourself:
```sh ```sh
git clone https://github.com/protomaps/PMTiles npm run build
cd serverless/aws
python create_lambda_function.py
``` ```
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: Configure these Lambda environment variables:
@@ -52,7 +50,7 @@ API Gateway (HTTP or REST):
### Monitoring ### Monitoring
TBD
### Lambda@Edge ### Lambda@Edge