Using psycopg2 with Lambda to Update Redshift (Python)

前端 未结 7 1733
情深已故
情深已故 2020-11-27 19:36

I am attempting to update Redshift from a Lambda function using python. To do this, I am attempting to combine 2 code fragments. Both fragments are functional when I run the

7条回答
  •  眼角桃花
    2020-11-27 19:41

    So many answers but didn't work for me! Please note AWS-Lambda doesn't have most of DB-related libraries preinstalled and so you need to add a zip file with code and libraries to get it working. Please follow the steps here: Link

提交回复
热议问题