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 am using flask. I would like to add layers to install the requirements using the serverless-python-requirements package by setting layer: true.
My project structure is as follows:
As per the above configuration, I am getting this error: Lambda can't find the file wsgi_handler.py. Make sure that your handler upholds the format: file-name.method.
Any help is highly appreciated. Thanks in advance.
This discussion was converted from issue #161 on April 04, 2022 08:31.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using flask. I would like to add layers to install the requirements using the
serverless-python-requirements
package by settinglayer: true
.My project structure is as follows:
root
Content of
serverless.yml
is:As per the above configuration, I am getting this error:
Lambda can't find the file wsgi_handler.py. Make sure that your handler upholds the format: file-name.method.
Any help is highly appreciated. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions