Hi, trying to deploy my first Alexa skill lambda …
Here’s the serverless.yml
file:
service: alexa-test-embargoes
provider:
name: aws
runtime: nodejs6.10
region: eu-west-1 # Alexa skills are supported only by this region in EU
functions:
embargoes:
handler: index.handler
events:
- alexaSkill:
appId: amzn1.ask.skill.there-althin-ghere-ofcourse
enabled: true
And here’s the output when running sls deploy
$ sls deploy
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless Error ---------------------------------------
Alexa Skill event of function "embargoes" is not an object or string. The correct syntax is: alexaSkill. Please check the docs for more info.
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Forums: forum.serverless.com
Chat: gitter.im/serverless/serverless
Your Environment Information -----------------------------
OS: darwin
Node Version: 6.9.1
Serverless Version: 1.26.0
I can’t see the error with the configuration that the deployment procedure detects. Any ideas? Thanks!