Skip to content

Commit e10eabb

Browse files
anitaruaMomento GitHub Actions Bot
authored andcommitted
Update templated README.md file
1 parent 74e8c7c commit e10eabb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

example/aws/cdk-lambda/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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
2627
cd infrastructure
2728
npm 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

3132
After the lambda is deployed, you can visit the AWS console and click the "Test" button to run it! The function will

0 commit comments

Comments
 (0)