title: PostgreSQL on Elastic Beanstalk (Amazon Linux 2)
body: <p>With former generation of Amazon Linux, all I needed to do is add the following in .ebextensions in order to use PostgreSQL:</p>
  
  <pre><code>packages:
      yum:
          postgresql93-devel: []
  </code></pre>
  
  <p>Now when I deploy on EB with the following platform:
  Python 3.7 running on 64bit Amazon Linux 2/3.0.0</p>
  
  <p>I get the following error on deployment:</p>
  
  <pre><code>[ERROR] Error occurred during build: Yum does not have postgresql93-devel available for installation
  </code></pre>
  
  <p>Therefore it is impossible to deploy as I need to connect to a PostgreSQL database in RDS.</p>
  
  <p>What config in .ebextensions do I need to do?</p>