TypeScript and ESM node runtime powered by esbuild.
yarn add cloudy-node
yarn cloudy-node index.ts
node --loader cloudy-node index.ts
The main reason to do so is that
esno will generate helpers that break Pulumi's function serialization when spreading objects. Another reason is that
es2022 allows using top level await, which is supported by AWS Lambda with Node.js 14.