You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 1, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ connection with, the use of this code.
28
28
1. Fork the repo
29
29
2. Clone your fork
30
30
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)
32
32
~~~~
33
33
AWS_ACCESS_KEY_ID="###################"
34
34
AWS_SECRET_ACCESS_KEY="###############"
@@ -75,7 +75,7 @@ connection with, the use of this code.
75
75
6. Set the Role to 'DynamoDBLambdaAutoscale'
76
76
7. Set the Memory to the lowest value initially but test different values at a later date to see how it affects performance
77
77
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)
0 commit comments