A simple CLI for building and uploading AWS Lambda functions.
Project description
AWS Lambda CLI
A simple CLI (Command Line Interface) tool to interact with AWS Lambda functions and Lambda layers.
Installation
To get started, install the package:
pip install aws-lambda-cli
and run the help command:
lambda --help
See examples below for more details.
License note:
This project is licensed under GPL-3, whose license restrictions apply to the distribution (propagation) and modification of this project. Usage for personal/development purposes does not carry the same requirements (disclosure, same license, etc.), however, warranty and liability limitations are still in effect. See section 9 of the license for details.
TODO
- Add layer support
- Add mypy and flake/ruff
- Unittests?
- Build actions
Examples
- Build, upload, and publish
main.py
to the functionTest
:
lambda Test build.py --publish
- Use an S3 bucket called
resources
:
lambda Test build.py --aws_s3_bucket resources
- Upload a project folder:
lambda Test src
- Use a cli profile called
work
, and upload to theeu-central-1
region:
lambda Test main.py --profile work --region eu-central-1
- Build locally, and keep the output file without uploading:
lambda Test main.py --out out.zip --no-upload
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aws_lambda_cli-0.1.0.tar.gz
(16.9 kB
view hashes)
Built Distribution
Close
Hashes for aws_lambda_cli-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c8537ea96924f31a1bcd2fa0a53108c31122987cee89d42a6d0a64913195c8c |
|
MD5 | a505ec30192e564b54b631bd23ad0caf |
|
BLAKE2b-256 | c055db8c73f78646f98558d5d99df071aa19e3166603b169a83a20c787c3e3eb |