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

Commit 1febbb7

Browse files
authored
Merge pull request #14 from keen99/patch-1
update readme to clarify API keys, and event schedule
2 parents c387918 + d98c50d commit 1febbb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ connection with, the use of this code.
2828
1. Fork the repo
2929
2. Clone your fork
3030
3. Create a new file in the root folder called 'config.env.production'
31-
4. Put your AWS credentials into the file in the following format
31+
4. Put your AWS credentials into the file in the following format, only if you want to run a local test (not needed for lambda)
3232
~~~~
3333
AWS_ACCESS_KEY_ID="###################"
3434
AWS_SECRET_ACCESS_KEY="###############"
@@ -75,7 +75,7 @@ connection with, the use of this code.
7575
6. Set the Role to 'DynamoDBLambdaAutoscale'
7676
7. Set the Memory to the lowest value initially but test different values at a later date to see how it affects performance
7777
8. Set the Timeout to approximately 5 seconds (higher or lower depending on the amount of tables you have and the selected memory setting)
78-
9. Once the function is created, attach a 'scheduled event' event source and make it run every minute
78+
9. Once the function is created, attach a 'scheduled event' event source and make it run every minute. Event Sources > Add Event Source > Event Type = Cloudwatch Events - Schedule. Set the name to 'DynamoDBLambdaAutoscale' and the schedule expression to 'rate(1 miunte)
7979

8080
## Configuration
8181

0 commit comments

Comments
 (0)