File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ The Lambda function is deployed using the AWS Cloud Development Kit (CDK).
1616- The CDK code in this repo is written in TypeScript, so you will need ` Node.js ` version 16 or later, and a compatible
1717 version of ` npm ` installed. If you don't have these, we recommend [ nodenv] ( https://github.com/nodenv/nodenv ) .
1818- To get started with Momento you will need a Momento API key. You can get one from the [ Momento Console] ( https://console.gomomento.com ) .
19+ - A Momento service endpoint is required. You can find a [ list of them here] ( https://docs.momentohq.com/platform/regions )
1920
2021## Building and Deploying the Lambda Function
2122
@@ -25,7 +26,7 @@ To build and deploy the Lambda function, first make sure that your AWS credentia
2526``` bash
2627cd infrastructure
2728npm ci
28- npm run cdk -- deploy --parameters MomentoApiKey=< YOUR_MOMENTO_API_KEY>
29+ npm run cdk -- deploy --parameters MomentoApiKey=< YOUR_MOMENTO_API_KEY> --parameters MomentoEndpoint= < YOUR_MOMENTO_ENDPOINT >
2930```
3031
3132After the lambda is deployed, you can visit the AWS console and click the "Test" button to run it! The function will
You can’t perform that action at this time.
0 commit comments