My problem is that if I write the Lambda function in VSCode I cannot deploy it to AWS console. 

I have an AWS account and provided credentials to use in VSCode. Just testing the deployment of simple Lambda function to AWS Console with `serverless deploy` command. So far no success. It creates the bucket on S3 and put zip code there.

ConsoleTest function was created manually in AWS Lambda Console.
[![enter image description here](https://i.stack.imgur.com/jzGta.png)](https://i.stack.imgur.com/jzGta.png)

My serverless.yml looks like this: 

```
service: myservice
provider:
  name: aws
  runtime: nodejs12.x

functions:
  hello:
    handler: handler.hello
    events:
      - http:
         path: users/create
         method: get

```

Result in terminal (I get correctly JSON response)
[![enter image description here](https://i.stack.imgur.com/LXHd6.png)](https://i.stack.imgur.com/LXHd6.png)

I was following the official guide: <https://serverless.com/framework/docs/providers/aws/guide/deploying/>

Any help, please?