I’m having problems with deploying a single function.
I have no problem deploying my service with “sls deploy -v”. The size is around 12 MB.
However, every time I try to deploy a single function like this: (function name in sls.yml = create)
serverless deploy function --function create
I get:
Serverless: Deploying function: create...
Serverless: Packaging function: create...
Serverless: Uploading function: create (12 MB)...
Serverless Error ---------------------------------------
Connection timed out after 120000ms
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Your Environment Information -----------------------------
OS: darwin
Node Version: 7.7.1
Serverless Version: 1.6.0
I can confirm that I do see a new zip file created in .serverless for this function, but it always times out!