I have a lambda function(runtime: Nodejs 4.3) and I need to store data in elasticache. The engine is redis. This is my function:
const redis = require("redis");
exports.handler = function (event, context, callback) {
callback(null, {});
};
Lambda returns "errorMessage": "Cannot find module 'redis'",
error.
Should I add nom redis package in zip?