Deploying the lambda function

At this point in time our Lambda handler to serve the skill is set to be deployed. We will deploy the function using the following command:

sls deploy --aws-profile=lets-poll-default

This lambda function will get deployed to the us-east-1 region, which is a region supported for hosting Lambda functions that back Alexa Skills.

We need to find this ARN from Lambda Console, and now we are ready to go back to configuring the Alexa skill in the developer console.

Get Hands-On Serverless Applications with Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.