title: Load CSV from S3 into AWS RDS Aurora MySQL Serverless
body: <p>After looking around, I've found some documentation on reading a CSV from S3 into an AWS Aurora MySQL database table, but this does not seem to apply to SERVERLESS instances. Does anyone know how to do this?</p>
  
  <p>This is roughly how one would proceed with a non-serverless instance:</p>
  
  <pre><code>with conn.cursor() as cur:
              query = """
                      LOAD DATA FROM S3 'filepath' 
                      INTO TABLE table 
                      FIELDS TERMINATED BY ','
                      LINES TERMINATED BY '\n'
                      """
              cur.execute(query)
              conn.commit()
  </code></pre>
  
  <p>In the serverless context, this produces the error:</p>
  
  <p><em>Access denied; you need (at least one of) the LOAD FROM S3 privilege(s) for this operation</em></p>
  
  <p>All solutions for this error are in terms of a non-serverless instance, and thus cannot be replicated in my use case.</p>