Deploying a single function

To deploy a single function, we use the following command:

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

Please note, this command is used to deploy a single function when the only code for that function has changed.

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.