This repository creates Lambda Layers with NPM dependencies on the AWS cloud.
Instead of manually deploying Lambda Layers, this CI/CD pipeline automates the build and deployment process.
The lambda-layer-creator.yml file handles the CD process. It contains several steps as follows.
actions/setup-node@v3
set up GitHub Actions workflow with node.jsTheDoctor0/zip-release@0.4.1
used to create the release zip archivegiboow/action-aws-cli@v1
AWS CLI GitHub action to push the lambda layer to AWS
- Fork this repository
- Create IAM user access keys
- Set AWS_ACCESS_KEY_ID & AWS_SECRET_ACCESS_KEY secrets on repository settings
- Edit the variable NPM_PACKAGES in the action specification according to need
- As soon as push this change, the workflow will run and deploy the layer to AWS