paramiko-lambda-layer
paramiko-lambda-layer copied to clipboard
Amplify cffi error
Can you deploy ap-northeast-1.
Sure, which python?
@revmischa python3.8
Try arn:aws:lambda:ap-northeast-1:898466741470:layer:paramiko-py38:1
cheers!
@revmischa Thanks for deploy bug I Got the flow error:
{
"errorMessage": "Unable to import module 'index': No module named '_cffi_backend'",
"errorType": "Runtime.ImportModuleError"
}
seems build image on windows
The build script is in the repo if you wanna check it out, it uses docker and linux. Are you using Serverless framework? Are you deploying your own cffi or using the one in the layer? In the README it notes you need to make sure you use the cffi from the layer
@revmischa I'm using amplify function which deploy by build-in amplify-cli tools
I see, if amplify has an option to build modules with docker that might be a better bet. I don't know the solution, sorry
getting the same error with an FTP transfer function as well. Is it due to skipped shared objects somehow?