• Pricing
© 2026 Serverless, Inc. All rights reserved.

Framework

  • Overview
  • Documentation
  • Plugins360
  • Pricing

Learn

  • Blog
  • GuidesUpdated
  • Examples240
  • Courses

Resources

  • Support
  • Security
  • Trust Center
  • Status

Community

  • Slack
  • GitHub47k
  • Forum
  • Meetups

Company

  • About
  • Careers
  • Contact
  • Partners

Legal

  • Terms of Service
  • Privacy Policy
  • Trademark
  • DMCA
lithin

Serverless Run Function Plugin

by

Run serverless function locally

0
14
  1. Serverless Run Function Plugin

Serverless Run Function Plugin

This plugin is deprecated since it is possible to run functions natively in the framework: https://serverless.com/framework/docs/providers/aws/cli-reference/invoke-local/

Serverless plugin to run a lambda function locally.

To use, add it to your serverless.yml under plugins:

functions:
  hello:
    handler: handler.hello

plugins:
  - serverless-run-function-plugin

Then run sls run -f hello to run the function.

Functionality is the same as it used to be in core serverless v0.

Roadmap

  • Test that it actually works ;)
  • Each test case should have only one assertion
  • Add back eslint rule for default exports
  • Version checking for correct version of serverless

Goals

  • Replace v0.5 runFunction Plugin
  • Integrate plugin into core serverless

Contribution guidelines

  • Write TDD
  • Use Airbnb es linter
  • Write as functional code as possible

Contents

  • Serverless Run Function Plugin
  • Roadmap
  • Goals
  • Contribution guidelines

Related

GuidesPluginsExamplesSlack CommunitySupport