Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for cloudwatch events/recurring events? #143

Open
aniham opened this issue Apr 17, 2018 · 3 comments
Open

support for cloudwatch events/recurring events? #143

aniham opened this issue Apr 17, 2018 · 3 comments

Comments

@aniham
Copy link

aniham commented Apr 17, 2018

Are there plans to expand this to run on a cadence like it would with cloudwatch events in prod? Basically call again with setTimeout rather than process.exit() here:

https://github.com/ashiina/lambda-local/blob/develop/bin/lambda-local#L146

@gpotter2
Copy link
Collaborator

Sure,
Do you have any docs explaining this ?

Thanks !

@aniham
Copy link
Author

aniham commented Apr 18, 2018

I just meant this:

https://docs.aws.amazon.com/lambda/latest/dg/invoking-lambda-function.html#supported-event-source-cloudwatch-events

nothing too fancy :)

I'm happy to submit a PR (shouldn't take too long) and discuss further after!

@gpotter2
Copy link
Collaborator

gpotter2 commented Apr 18, 2018

I'm happy to submit a PR (shouldn't take too long) and discuss further after!

It would be really great !
Also, feel free to add a test :)

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants