-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
Feedback for “EventBridge event bus” -> handler can not be found #1716
Comments
Small update on the matter. As runtime you should use: It seems like it will go a step further then. Only problem after adding this is that I will get the following error:
It seems like the entry now cant be found? The App folder is autoloaded and all namespaces is correct. I'm wondering why it can't find the handler. |
Regarding the 1st point: TL/DR: the documentation should be fixed, thank you for the report 👍 Regarding the 2nd issue: |
the documentation states implementing this will create a lambda called events and create an eventRule too:
However when I add my handlers (I gave 2 examples) I walk into two issues:
My example code:
What am I doing wrong here? Serverless creates the correct eventRule and couples the lambda correctly. I can see in cloudwatch that the lambda actually gets fired but the result is always the same: Handler can not be found.
I hope someone can help me out! Thanks in advance :)
The text was updated successfully, but these errors were encountered: