I wonder whether there is a way to use only lambda function when I dispatched a job in laravel.
What I'm using is below.
- Laravel 5.8(PHP 7.2)
- AWS SQS
- Supervisord
In Laravel, I dispatch a job with SQS connection and job is in Laravel project. I searched how I can use SQS as a trigger for lambda function. And I found this document. ( Using AWS Lambda with Amazon SQS ) If I follow this document, I think I can run job in lambda. But In Laravel project, job will be run again. I want to use only lambda as a job.
How I can run only lambda function as a job?