Build you AWS Lambda cpode with dependencies valid at runtime using private npm repo!
Install node dependencies that will work in AWS Lambda:
docker run -it -v "$PWD":/var/task -e NPM_TOKEN=$(cat ~/.npmrc | awk -F= '{print $2}') myideas/lambda-build npm install
- NPM_TOKEN is the token to access your private repo
These tools are included in this image to be used in the build environment, eg in Bitbucket Pipeline
- turbodeploy to deploy to AWS
- semver_update can be called before npm publish to automatically increment the fix number of the package semver version
- checkstack: Create a ChangeSet for an AWS CloudFormation stack and return the number of differences (see in the repo
my-ideas/turbideploy
) - Terraform binary
docker login
./build-container.sh