title: dms s3 source endpoint connection fails
body: <p>Getting below connection error when trying to validate S3 source endpoint of DMS.</p>
  
  <pre><code>Test Endpoint failed: Application-Status: 1020912, Application-Message: Failed to connect to database.
  </code></pre>
  
  <p>Followed all the steps listed in the below links but still maybe I am missing something...</p>
  
  <p><a href="https://aws.amazon.com/premiumsupport/knowledge-center/dms-connection-test-fail-s3/" rel="nofollow noreferrer">https://aws.amazon.com/premiumsupport/knowledge-center/dms-connection-test-fail-s3/</a>
  <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.S3.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.S3.html</a></p>
  
  <p>The role associated with the endpoint does have access to the S3 bucket of the endpoint, along with dms being listed as trusted entity.</p>