Hello! The yaml file returns an error when formatted like this:
functions:
hello:
handler: handler.hello
events:
- http:
path: beer/hello
method: get
Provider information must be included as well:
service: aws-nodejs
provider:
name: aws
runtime: nodejs14.x
functions:
hello:
handler: handler.hello
events:
- http:
path: beer/hello
method: get
The ‘path’ and ‘method’ terms of the array must be indented.