-
I am setting up the SQS example here https://bref.sh/docs/use-cases/sqs with my PHP app built on Codeigniter. I am able to run a properly functioning version of the SQS example with Lambda processing my code correctly if I return the SQS Class Handler Instance ( When my Lambda function runs I get the error: "Fatal error: Bref\Runtime\HandlerNotFound: Handler I have tried many different iterations for loading the Lambdahandler function within my Codeigniter app structure but I have not had any luck so far. Below is an example of an iteration that is failing:
Separately, if I load the above consumer function on my localhost including
Does anyone have any idea how I can load my framework files and have Lambda recognize my Lambdahandler function? Does |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It seems like I have to use the |
Beta Was this translation helpful? Give feedback.
It seems like I have to use the
return
statement:return new Lambdahandler()
in the handler file otherwise the function is not recognized on Lambda.