Skip to content

Commit 2f1f460

Browse files
committed
add note to readme that reagion should match aws cli config + adjust makefile to use exported reagion
1 parent 929ffcc commit 2f1f460

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ install:
1515

1616
deploy:
1717
test -e node_modules || yarn; \
18-
cdklocal bootstrap aws://000000000000/us-east-1; \
18+
cdklocal bootstrap aws://000000000000/$$AWS_DEFAULT_REGION; \
1919
cdklocal deploy
2020

2121
## Start LocalStack in detached mode

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ cdklocal bootstrap aws://000000000000/us-east-1
5757
cdklocal deploy
5858
```
5959

60+
*Note: Make sure your region is set to `us-east-1` in your AWS CLI configuration. Alternatively you can adjust the bootstrap command to match your region.
61+
The region in the Makefile is also set to `us-eat-1` and might need changing.*
62+
6063
As an output of the last command, you will see the API Gateway endpoint URL. You can use this URL to test the API.
6164

6265
### Testing the microservice

0 commit comments

Comments
 (0)