ulos
v1.1.0
Published
Upload your Lambda functions on save
Downloads
6
Maintainers
Readme
Ulos
Upload Lambda On Save - it's that simple, really.
Ulos is a minimal Nodejs library that watches a file (or folder of files and subfolders) for changes and uploads a new deployment package to AWS Lambda when a change is registered. Files and folders are watched using Chokidar.
Getting started
Ulos is invoked using npx
and a series of arguments.
npx ulos --target "path/to/file/or/folder" --lambda "myfunction" --region "myregion" --profile "myprofile"
--target
Required. A relative or absolute path to the file or folder that will be watched. All files and files within any level of subfolder will be watched and included in the deployment package.
--lambda
Required. The name of the Lambda function to be updated upon file changes. Note that any existing deployment package will be overwritten upon running Ulos.
--region
Required. The region in which the Lambda function resides.
--profile
Optional. Ulos will attempt to fetch default credentials from the system using the AWS SDK V3 @aws-sdk/credential-providers. If you would like to provide a different profile or you have no default profile set, you can provide an explicit profile here.