gjbae1212 / gossm

💻Interactive CLI tool that you can connect to ec2 using commands same as start-session, ssh in AWS SSM Session Manager
MIT License
421 stars 51 forks source link

Not working for hybrid images #50

Open Bakrog opened 2 years ago

Bakrog commented 2 years ago

Hello, as I see in code you're using ec2 describe-instances to filter running instances. But in my case my hybrid instances doesn't appear as ec2 instances but are still available for connection.

andymac4182 commented 2 years ago

Which command are you trying to use?

Bakrog commented 1 year ago

Hi, I was trying to use gossm start.

Problem is that as the program is describing ec2 instances (name i-*) it automatically filters out hybrid instances (in other words non ec2 instances that are names mi-*).

Documentation about hybrid environments: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-managedinstances.html