lambdas.yml is the file that points to lambda functions that you wrote. 

Step-by-step guide

  1. Add function name. Convention is CamelCase.
  2. timeout: specifies Lambda timeout in seconds.
  3. handler: is the name of function.
  4. source: defines location of function. 


Custom function goes under lambdas/ directory. If kes cannot find the file, it will throw an error like below:

Error zipping Error: ENOENT: no such file or directory, lstat 'lambdas/versionUpTest'
ENOENT: no such file or directory, lstat 'lambdas/versionUpTest'