aws-samples / aws-secrets-manager-rotation-lambdas

Contains Lambda functions to be used for automatic rotation of secrets stored in AWS Secrets Manager
MIT No Attribution
329 stars 282 forks source link

cx_Oracle has a major new release under a new name python-oracledb #125

Closed Balvinder-1995 closed 9 months ago

Balvinder-1995 commented 1 year ago

After upgrading the lambda runtime from python 3.8 to 3.11, It has been found that cx_Oracle is not supported and should be replaced with python-oracledb. However, cx_Oracle is working till python 3.10 version.

[ERROR] Runtime.ImportModuleError: Unable to import module 'lambda_function': No module named 'cx_Oracle' Traceback (most recent call last):

https://cx-oracle.readthedocs.io/en/latest/index.html

goyalya commented 10 months ago

Thank you for reporting the issue. We are currently investigating and will share updates shortly.

wlewis4321 commented 9 months ago

Completed in #134