aws-psycopg2 | Simplest way to build psycopg2 python module | Continuous Deployment library
kandi X-RAY | aws-psycopg2 Summary
kandi X-RAY | aws-psycopg2 Summary
Simple bash script that will allow you to build psycopg2 python module inside of docker container with statically linked libpq which then can be used in AWS Lambda environment.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of aws-psycopg2
aws-psycopg2 Key Features
aws-psycopg2 Examples and Code Snippets
Community Discussions
Trending Discussions on aws-psycopg2
QUESTION
I am trying to make a lambda function connect to Redshift, and deploy the same via The Serverless Framework.
serverless.yml config:
...ANSWER
Answered 2020-Jul-07 at 07:03You can try using this module instead of default one (Supports only Python3.x)
https://pypi.org/project/aws-psycopg2/
While the above is not actively maintained, and has the max version as psycopg2==2.8.4
, it could serve the use-case you might have.
You can also try zipping and uploading the package from here https://github.com/jkehler/awslambda-psycopg2 if you need support for older python versions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install aws-psycopg2
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page