-
Hey, guys! I'm trying to create a serverless Laravel API application using Lambda on CDK. What I'm trying to do is to pack the laravel code in a separated directory and let lambda take care of it.
If I go to index/public.php and just return a simple string it works, but every routing or anything I try to access on the Laravel side ends up not working. Any idea on how to fix it? Here's a sample of my CDK code: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The layer is incorrect, you're deploying a FPM function with a non-FPM layer. |
Beta Was this translation helpful? Give feedback.
The layer is incorrect, you're deploying a FPM function with a non-FPM layer.