lambda-packages | Various popular python libraries , pre-compiled to be | Serverless library
kandi X-RAY | lambda-packages Summary
kandi X-RAY | lambda-packages Summary
Various popular python libraries, pre-compiled to be compatible with AWS Lambda
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 lambda-packages
lambda-packages Key Features
lambda-packages Examples and Code Snippets
Community Discussions
Trending Discussions on lambda-packages
QUESTION
I am trying to create a simple Lambda function to query the msdb
of AWS RDS SQL server to monitor for failed jobs. I downloaded the python module pyodbc from https://github.com/Miserlou/lambda-packages/tree/master/lambda_packages/pyodbc
changed the file type from .tar.gz to zip and extracted the two file libodbc.so.2 and pyodbc.so I then put the two files in a zip folder structured like this
pythonjob.zip\python\lib\python3.7\site-packages\pyodbc
and in pyodbc
exists libodbc.so.2
and pyodbc.so
I then uploaded the pythonjob.zip
file on Lambda Layer and tested my script
ANSWER
Answered 2021-Jun-18 at 02:28@Esu Please change the connection statement to below:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install lambda-packages
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