Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

customink/lambda-node-canvas-layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-canvas 1.6.3 AWS Lambda Layer

This repository contains an AWS Lambda Layer with node-canvas 1.6.3 and also includes librsvg libraries and binary to be used by an AWS Lambda with nodejs8.10 runtime. This can be useful e.g. for running Fabric on an AWS Lambda.

Build

./bin/build

Deploy

The deploy script returns the layer ARN:

> ./bin/deploy
arn:aws:lambda:<REGION>:<ACCOUNT>:layer:node-canvas-1_6_3:<VERSION>

If we want to use a different AWS profile:

AWS_DEFAULT_PROFILE=myprofile ./bin/deploy

NOTE: bin/deploy calls bin/build. If you want to skip the build, then use:

SKIP_BUILD=true ./bin/deploy

About

Build and deploy an AWS Lambda layer for using node-canvas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published