lameboy

0.1.7 • Public • Published

LameBoy (Beta)

Lameboy

Lameboy is an interactive AWS Lambda function deployment CLI tool. Lameboy creates/updates functions with new version with every deployment.

 

So very beta (╯°□°)╯︵ ┻━┻

 

Installation

$ npm i lameboy --global

Usage

To start lameboy, use the following command in terminal

$ lame

OR

$ lameboy

Lameboy has four functionalities

  • Setup AWS Creds
  • Init Lambda folder
  • Deploy
  • Reset

Setup AWS Creds

First time setup. When you run lameboy for the first time, it is going to ask for

Init Lambda folder

Before deployment, every lambda function folder needs to initialized. This creates a lame.json in the lambda folder. You can set custom values for every lambda by adding/replacing values here.

{
    "Runtime": "nodejs8.10",
    "MemorySize": 128,
    "Handler": "index.handler",
    "Timeout": 10,
    "Publish": true,
    "Role": "arn:aws:iam::xxxxx:role/xxxxxx"
}

Deploy

Once intialized, you can deploy from the root folder where multiple lambda folders are it's subdirectories and you can select multiple lambdas to deploy OR provide direct path of lambda to deploy only one.

 

Deploy

Reset

If you wan't to change your setup settings, you'll have reset.

$ lame --reset

Knows Issues

  • Goes crazy on terminal resize. For now, do not resize the terminal once lameboy has been opened.
  • Upcoming issues

TODO

  • Create Alias option on first deploy
  • Allow editing default init values globally
  • Fix resizing issue

License

MIT

Package Sidebar

Install

npm i lameboy

Weekly Downloads

0

Version

0.1.7

License

MIT

Unpacked Size

43.9 kB

Total Files

16

Last publish

Collaborators

  • ds92