A set of bash scripts from Springs Digital to automate the creation, update and upload of Lambda Layers in Node.js
Simply get the files via the terminal
curl 'https://raw.githubusercontent.com/springsdigital/layerizejs/master/create_layer.sh' > create_layer.sh && \ curl 'https://raw.githubusercontent.com/springsdigital/layerizejs/master/update_layer.sh' > update_layer.sh Use bash create_layer.sh to create a new layer. The script will ask for the package name. If the package is scoped, you will have to provide the scoped name (ex: @scope/package)
Use bash update_layer.sh to update a layer. You will need to provide the module name. If the module is scoped, provide the module name without scope (ex: @scope/ package)
It's important to note that you previously need to have the AWS CLI installed and configured.
Thank you contributors!
LayerizeJS is maintained by Springs Digital.
LayerizeJS is © of Springs Digital Spa. It is free software and may be redistributed under the terms specified in the LICENSE.
