Skip to content

jmandurano/lambda-deploy-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#lambda-deploy-cli A lightweight module that is configuration file based and removes as much boiler plate code as possible for deploying lambda functions to AWS.

usage

The source must be in ./src/

cli

lambda-deploy-cli --config deploy-config.json

package.json

  "scripts": {
    "deploy-test": "lambda-deploy-cli --config deploy-config.test.json",
    "deploy": "lambda-deploy-cli --config deploy-config.json"
  },

see sample/sample-config.json for a sample configuration file

{
    "functionName": "test-lambda-deploy",
    "config": "config.test.json",       // if omitted, no updates are made to the config file
    "outputConfig": "src/config.json",  // if omitted, no updates are made to the config file
    "aws": {
        "profile": "default",
        "region": "us-east-1"
    }
}

install

npm install --save-dev lambda-deploy-cli

About

A lightweight module that is configuration file based and removes as much boiler plate code as possible for deploying lambda functions to AWS.

Resources

Stars

Watchers

Forks

Packages

No packages published