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
I can deploy this function and it works fine, but when I try to invoke it locally, it fails. It looks like it doesn't do anything with the module, and just tries to run handler.lambda_handler instead of ./func1.handler.lambda_handler. If I change handler to func1.handler.lambda_handler, it runs locally, but obviously would fail when deployed.
Is there something I'm missing to make this work, or is this something that's possible to do with this plugin?
The text was updated successfully, but these errors were encountered:
good catch. @cgrimal, i think we could fix this by tapping in to the invoke local event and modifying functions.FUNCNAME.handler by prepending functions.FUNCNAME.module if it's set. Does that sound reasonable?
I have a Python function I'm individually packaging with requirements with a config like
With a file structure like
I can deploy this function and it works fine, but when I try to invoke it locally, it fails. It looks like it doesn't do anything with the
module
, and just tries to runhandler.lambda_handler
instead of./func1.handler.lambda_handler
. If I changehandler
tofunc1.handler.lambda_handler
, it runs locally, but obviously would fail when deployed.Is there something I'm missing to make this work, or is this something that's possible to do with this plugin?
The text was updated successfully, but these errors were encountered: