1.0.3 • Published 2 years ago

damibu_aws_upload v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

This is a basic script designed to provide easy updated for Lambda functions using the AWS SDK.

Installation

This package is designed to work with your existing nodejs project use the npm package manager for Node.js. Simply type the following into a terminal window:

npm install aws_lambda_uploader

Required Files

Before running the script you will need a .env file and a lamda_buildlist file int he root of the project.

.env

AWS_LAMBDA_NAME=?????? AWS_ENVIRONMENT=?????? AWS_ACCESS_KEY_ID=?????? AWS_SECRET_ACCESS_KEY=?????? AWS_REGION=??????

lambda_buildlist

This is a glob file (similar format to gitignore) that details the files that you want to be included in the package.

node_modules

Your node_modules folder will be copied and uploaded to lambda, it is up to you to keep your node_modules folder clean and up to date.