Closed mobious999 closed 1 week ago
Could you provide information about how you currently build the lambda package?
Please let us know if you're still having an issue. Closing for now due to inactivity, please feel free to reopen.
Based on what I saw the issue was closed. I at that point no longer thought it was going to be an issue so I moved on.
Please close the issue.
When I attempted to use this code https://github.com/aws-samples/aws-secrets-manager-rotation-lambdas/blob/master/SecretsManagerRDSSQLServerRotationMultiUser/lambda_function.py
I have tried multiple ways to get the pymssql package to work (either in the lambda function code or in a lambda layer) both fail with the following error.
[ERROR] Runtime.ImportModuleError: Unable to import module 'lambda_function': No module named 'pymssql._pymssql' Traceback (most recent call last):
I've attempted to debug the module but a simple import won't even work.
This is the third time we've had lambda functions fail our rotation and I would like to see if there's a way to adjust the lambda so that it works or provide guidance on how to build the lambda package.