title: How to connect RDS instance when running SAM locally?
body: <p>I am using SAM (Serverless application model) to test Lambda functions locally that connect to an Aurora RDS instance in the cloud.</p>
  
  <p>Using the following command:</p>
  
  <pre><code>sam local invoke "lambda function name" --event event.json
  </code></pre>
  
  <p>The Lambda function is being executed but when it comes to returning SQL results, it's returning null as output.</p>
  
  <p>How can I configure the Docker container to communicate with the RDS instance?</p>