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
As the documentation says, I added this configuration inside my custom property in the serverless.yaml
localstack:
stages:
# list of stages for which the plugin should be enabled
- local
- developmenthost: http://localhost # optional - LocalStack host to connect toedgePort: 4566# optional - LocalStack edge port to connect toautostart: true # optional - Start LocalStack in Docker on Serverless deploynetworks: #optional - attaches the list of networks to the localstack docker container after startup
- host
- overlaylambda:
# Enable this flag to improve performancemountCode: true # specify either "true", or a relative path to the root Lambda mount path
But when webpack package the code is located in .webpack/a-dir/a-handler.handle, what would be the solution for that, I'm kind of lost, should I update the output path?
The text was updated successfully, but these errors were encountered:
As the documentation says, I added this configuration inside my
custom
property in the serverless.yamlThe
webpack
config is this for the serverless:This is the webpack configuration:
And I'm getting this error:
And it looks like is because the handler path is incorrect, it says this
'_HANDLER': '.webpack/service/src/a-dir/a-handler.handle'
But when webpack package the code is located in
.webpack/a-dir/a-handler.handle
, what would be the solution for that, I'm kind of lost, should I update theoutput
path?The text was updated successfully, but these errors were encountered: