Open
Description
Context
I like the usage of this command. I have 10 instances that match this tag and session
will ssh/ssm into one of the instances perfectly.
$ aws-gate session Name:my-app
But what if I wanted to ssh/ssm into a specific instance? I cannot easily do this unless I list my instances using the awscli.
$ aws ec2 describe-instances \
--filters "Name=tag:Name,Values=my-app" \
--query 'Reservations[].Instances[].InstanceId'
Proposal
What I'd like is something like this and have it populate all the instance ids that match it.
$ aws-gate list Name:my-app
It would be perfect if it worked for multiple tags too
$ aws-gate list Name:my-app,env:prod
Thank you!
Metadata
Metadata
Assignees
Labels
No labels