Skip to content
This repository was archived by the owner on Dec 29, 2023. It is now read-only.

Commit 960fc0f

Browse files
authored
Update README.md
1 parent be0ce4c commit 960fc0f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lambda/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,20 @@
88

99
> Let's run chdb in a lambda function for fun a profit!
1010
11-
## Local Image Test
12-
Build and run the Lambda locally:
11+
## Local Lambda Test
12+
Build and run the Lambda chdb container locally:
1313
```
1414
docker build -t chdb:lambda
1515
docker run -p 9000:8080 chdb:lambda
1616
```
1717

1818
Validate the API using curl
1919
```
20-
curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{"query":"SELECT version()", "default_format":"JSONCompact"}'
20+
curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" \
21+
-d '{"query":"SELECT version()", "default_format":"JSONCompact"}'
2122
```
2223

24+
<br>
2325

2426
## Upload Docker image on ECR and Lambda
2527
Lambda function continers must be hosted on the AWS Elastic Container Registry.

0 commit comments

Comments
 (0)