I'm trying to deploy an AWS API with serverless.com
When I do:
sls --stage=dev --aws-profile=myprofile deploy --force
I get the following warning:
Configuration warning at 'functions.app.events[0]': unsupported function event
My serverless.yml contains the section:
functions:
app:
handler: src/index.handler
memorySize: 3008
events:
- httpApi:
method: '*'
path: '*'
authorizer:
name: serviceAuthorizer
scopes: # Optional
- user.id
- user.email
What is wrong with the events section?
events: - httpApi: '*'
as decribed here - serverless.com/framework/docs/providers/aws/events/http-api/…