title: Import Module via AWS Lambda Console Editor
body: <p>Trying out an application in NodeJS. Have the following imports</p>
  
  <pre><code>var https = require('https'),
      aws4  = require('aws4')
  </code></pre>
  
  <p>However, get the error </p>
  
  <p><code>"errorType": "Runtime.ImportModuleError",
    "errorMessage": "Error: Cannot find module 'aws4'",
  </code></p>
  
  <p>Code works when execute locally on desktop after installing aws4 using <code>npm install aws4</code>. How to install a module when editing lambda script in aws console lambda editor?</p>