cdklabs/aws-delivlib

Upgrade lambda runtime to use NODEJS_10 instead of 8

iliapolo opened this issue · 3 comments

Upgrade lambda runtime to use NODEJS_10 instead of 8

I'm working on it.

Upgrading to Node 10_X throws the following error when the lambda based custom resource is attempting to execute 'gpg' commands:

ERROR { Error: spawn gpg ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn gpg',
path: 'gpg',
spawnargs: [ '--batch', '--gen-key', '/tmp/OpenPGP-8X0IF1/key.config' ] }