AWS Lambda CLI to quickly generate Nodejs Lambda functions along with a CI/CD pipeline.


Keywords
serverless, AWS, awsserverless, awslambda, lambda, lambdafunctions, serverlesscli, cli, nodejs, aws-lambda, gocd, jenkins
License
MIT
Install
npm install calculus-cli@1.0.24

Documentation

CalculusJS - AWS Lambda CLI + Serverless Micro-Framework for Nodejs

Provision Nodejs AWS Lambda functions that contain a defined CI/CD pipeline.

Why CalculusJS?

  1. To propogate the adoption of DevSecOps amongst all Serverless applications you are developing.
  2. As a NodeJS developer I want to use the same tooling I'm accustomed to when writing non-serverless applications (ex. Webpack, FlowType, Mocha, etc.).
  3. I want to automate the development of CI/CD pipelines for each and every Lambda function I write.

Prerequisites

  • Git installed
  • Terraform installed
  • Unix based systems

Installation

npm install -g calculus

You will want to run above command as root user (sudo).

Configuration

calculus configure

How to start using?

I. Generate a Nodejs Lambda function

$ calculus create hello-world
$ cd ./hello-world
$ npm install
$ npm run build

II. Deploy your new Lambda function

$ cd ./hello-world
$ calculus deploy

FAQs

coming soon...

License

MIT, see LICENSE.md for more information.