lb
lets you balance your AWS lambda layers across regions.
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.
# 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 install github.com/faabiosr/lb@latest
lb verify --regions 'us-east-1,eu-central-1,sa-east-1' my-layer
lb bump --regions 'us-east-1,eu-central-1,sa-east-1' my-layer
The entire environment is based on Golang, and you need to install the tools below:
- Install Go
- Install GolangCI-Lint - Linter
Please run the make target below to see the provided targets.
$ make help
This project is released under the MIT licence. See LICENSE for more details.