How to change MemorySize?

how do i configure MemorySize for each function ?

how do I create project with sls ?
when I tried sls project create it says project not found.
and when I tried serverless create --template aws-nodejs it just creats template
how to I create full project ?

Hi @vinodhum

Serverless v1 changed how projects are setup. With v0 you got a scaffolding when you created the project. With v1 you have to scaffold everything yourself as you see fit and configure it in the serverless.yml file.

MemorySize and Timeout can be configured for each function like this:

    functions:
      loginUser:
        name: loginUser
        description: Verifies Credentials for Authorization
        handler: loginUser/handler.loginUser
        memorySize: 256
        timeout: 3

thanx a lot it worked.