aws-samples / alb-sso-mwaa

MIT No Attribution
7 stars 3 forks source link

Issue invoking lambda with python 3.9 #12

Closed tomcoombs-aws closed 8 months ago

tomcoombs-aws commented 9 months ago

After the Idp has issued a token and the lambda is invoked, the lambda fails with log:

“[ERROR] Runtime.ImportModuleError: Unable to import module ‘mwaa_authx’: /var/task/cryptography/hazmat/bindings/_rust.abi3.so: cannot open shared object file: No such file or directory”

@tccoomb

ramcharantej commented 8 months ago

is this error from Lambda logs?

tomcoombs-aws commented 8 months ago

It is yes. On further investigation. This error happens when the build machine is not Ubuntu as detailed in the instructions (It was Mac OS). I will close this issue