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
When combining this plugin with other plugins there are a few things that you need to keep in mind.
You should run serverless offline start instead of serverless offline. The start command fires the offline:start:init and offline:start:end lifecycle hooks which can be used by other plugins to process your code, add resources, perform cleanups, etc.
I have encountered, though, that serverless-s3-local seems to call endHandler() prematurely when sls is invoked with the 'start' option. After sls offline initializes, I am met with "S3 local closed" and the plugin does not respond to s3 events.
If I drop the start option and simply run serverless offline, all seems fine.
The text was updated successfully, but these errors were encountered:
serverless-s3-local version: 0.6.22
serverless-offline version: 8.8.1
serverless version: 3.21.0
https://www.serverless.com/plugins/serverless-offline
states
I have encountered, though, that serverless-s3-local seems to call endHandler() prematurely when sls is invoked with the 'start' option. After sls offline initializes, I am met with "S3 local closed" and the plugin does not respond to s3 events.
If I drop the
start
option and simply runserverless offline
, all seems fine.The text was updated successfully, but these errors were encountered: