Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 815 Bytes

File metadata and controls

30 lines (21 loc) · 815 Bytes

Lambda Function Utility CLI Tool

Lambda Function Utility CLI Tool is a command-line interface (CLI) tool for initializing and deploying AWS Lambda functions.

Installation

You can install Lambda Function Utility CLI Tool globally using npm:

npm install -g lambda-cli-util-tool

Usage

func setup

Prompts user for access keys and saves AWS access info inside a JSON file in package directory on the first usage.

func init <function_name> <layer_name>

Initializes NPM directory with index.js file exporting handler.

func deploy

Installs node modules from package.json if a layer was mentioned and dependencies are present to deploy a new version to the layer. Zips function code and deploys the handler to Lambda and updates Layer version if mentioned.