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 bashgo install github.com/faabiosr/lb@latestlb verify --regions 'us-east-1,eu-central-1,sa-east-1' my-layerlb bump --regions 'us-east-1,eu-central-1,sa-east-1' my-layerThe 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 helpThis project is released under the MIT licence. See LICENSE for more details.