Socket
Socket
Sign inDemoInstall

serverless-leo

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-leo

Serverless plugin for leo microservices


Version published
Weekly downloads
261
decreased by-44.11%
Maintainers
1
Weekly downloads
 
Created
Source

serverless-leo

Serverless plugin. Deploy your leo bots and microservices using serverless.

Install serverless-leo

npm install --save-dev serverless-leo

Configure serverless.yml

plugins:
  - serverless-leo

custom:
  stage: ${opt:stage, 'dev'}
  dev:
    leoStack: TestBus # The name of your leo platform stack
  test:
    leoRegister: arn:aws:lambda:us-east-1:123456:function:TestBus-LeoInstallFunction-2IMP25UOQ64G # The arn for the LeoInstallFunction lambda in your leo platform stack. This is an alternative to using the leoStack variable. If the bus and lambda are in different accounts for example.

functions:
  helloWorld:
    handler: index.handler
    leo:
      source: helloWorldTestQueue

Deploy your microservice

Use the standard serverless deploy cli command to deploy your microservice. Optional -s or -stage parameter (standard serverless).

Examples

Requires the leo platform (bus) for configuration. https://github.com/LeoPlatform/Leo

nodejs - https://github.com/LeoPlatform/serverless-leo/tree/master/examples/nodejs
java - https://github.com/LeoPlatform/serverless-leo/tree/master/examples/java-quickstart
python (incomplete) - https://github.com/LeoPlatform/serverless-leo/tree/master/examples/python

Keywords

FAQs

Package last updated on 04 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc