Open
Description
Hi, I'm using the ssm helpers to login onto a aws ec2 instance:
ssm session --profile LabDevMain -t Name
INFO Retrieved 10 usable instances.
Instance ID Region Profile Name
? Showing 10/32 instances. Make a Selection: [Use arrows to move, space to select, <right> to all, <left> to none, type to filter]
> [ ] i-123123123123 eu-central-1 MyProfile instance-111-name
[ ] i-111111111111 eu-central-1 MyProfile instance-123-name
As you can see in the example instance names and ids are swapped. I.e. by selecting instance i-12312312313 I'll connect to the instance i-111111111111 (just example ids).
Then in aws ssm start-session
I'll see "true" instance id.
Metadata
Metadata
Assignees
Labels
No labels