Skip to content

Commit 1c13c79

Browse files
authored
update demo for sam local debug (#84)
1 parent 12047a4 commit 1c13c79

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

examples/nextjs-zip/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ nextjs-zip$ sam local invoke HelloWorldFunction --event events/event.json
7070
The SAM CLI can also emulate your application's API. Use the `sam local start-api` to run the API locally on port 3000.
7171

7272
```bash
73-
nextjs-zip$ sam local start-api
73+
nextjs-zip$ sam local start-api --region us-west-2
7474
nextjs-zip$ curl http://localhost:3000/
7575
```
7676

examples/nextjs-zip/app/run.sh

100644100755
File mode changed.

examples/nextjs-zip/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Resources:
2323
Variables:
2424
AWS_LAMBDA_EXEC_WRAPPER: /opt/bootstrap
2525
RUST_LOG: info
26-
PORT: 8080
26+
PORT: 8000
2727
Layers:
2828
- !Sub arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerX86:5
2929
Events:

0 commit comments

Comments
 (0)