-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hello,
I'm getting:
{
"errorMessage": "module 'paramiko' has no attribute 'SSHClient'",
"errorType": "AttributeError",
"stackTrace": [
[
"/var/task/asg-fs-scale-in-function.py",
48,
"trigger_handler",
"ssh = paramiko.SSHClient()"
]
]
}
Which is really strange as i'm importing it:
import boto3
import paramiko
import time
def trigger_handler(event, context):
message = event['detail']
...
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
Do you know why this might be?
Thanks!
David
StefanMihail
Metadata
Metadata
Assignees
Labels
No labels