Skip to content

faabiosr/lb

Repository files navigation

lb

Build Status Codecov branch Go Report Card Release License

🎉 Overview

lb lets you balance your AWS lambda layers across regions.

☺️ Motivation

Managing AWS lambda layer across regions is difficult, because each new layer deployment will increment the version automatically, and if you need to introduce a new region, the result will be different versions.

🎯 Installation

Unix-like

Manual installation

# by default will install into ~/.local/bin folder.
curl -sSL https://raw.githubusercontent.com/faabiosr/lb/main/install.sh | bash 

# install into /usr/local/bin
curl -sSL https://raw.githubusercontent.com/faabiosr/lb/main/install.sh | sudo INSTALL_PATH=/usr/local/bin bash

go

go install github.com/faabiosr/lb@latest

💎 Usage

Verify the versions deployed across regions

lb verify --regions 'us-east-1,eu-central-1,sa-east-1' my-layer

Bump all regions with the latest version

lb bump --regions 'us-east-1,eu-central-1,sa-east-1' my-layer

🧰 Development

Requirements

The entire environment is based on Golang, and you need to install the tools below:

Makefile

Please run the make target below to see the provided targets.

$ make help

📃 License

This project is released under the MIT licence. See LICENSE for more details.

About

Balance your AWS lambda layers across regions.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published