Y
Hacker News
new
|
ask
|
show
|
jobs
by
dpeck
3039 days ago
Dumb question, never used lambda before, how often is this triggered? I can’t tell at first look through the code.
1 comments
shironineja
3039 days ago
The lambda doesn't have a schedule within because doing so would split the concerns poorly; rather you would hit this lambda on your own schedule.
link
dpeck
3039 days ago
Ah, so you ping the lambda to have it ping the coded in website?
link
mali9
3039 days ago
Or you could invoke the lambda on a schedule using Cloudwatch
https://docs.aws.amazon.com/lambda/latest/dg/with-scheduled-...
link
frankcash
3039 days ago
Yup! Didn't want to include the TF to do the scheduling (for simplicity) but I could add it if people want.
link
shironineja
3039 days ago
.. as a service!
link