2 Answers
- Newest
- Most votes
- Most comments
0
Are you getting the current time inside the handler or outside the handler? The code that runs outside the handler is invoked only once. In your case, you need to do it inside the handler.
If this is not the case, it would be good if you can share your code.
0
Hey, thanks. It's outside the handler. I will put it inside.
answered a year ago
Relevant content
- Accepted Answerasked 9 months ago
- Accepted Answer
- What's the difference between Lambda function execution role permissions and invocation permissions?AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago