I am trying to ssh from lambda to ec2 to run script in ec2 using paramiko,
There is no problem with the deployment package , i successfully deployed the python package and uploaded to lambda .
But while testing I got
/lib64/libcrypto.so.10: version `OPENSSL_1.0.2' not found (required by /var/task/cryptography/hazmat/bindings/_openssl.so): ImportError
I installed paramiko and cryptography from pip in ec2 environment.
Basically followed this to create the deployment package.