Return Instances Where Name Equals String #8230
Unanswered
erickkendall
asked this question in
Q&A
Replies: 1 comment
-
Hi @erickkendall - thanks for reaching out. Can you please elaborate more on which value you'd like to filter, for example, instance name, owner tag etc..? A combination of
Also Hope that helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following which will list the name and instance id
aws ec2 describe-instances --region us-east-1 --profile profile --query 'Reservations[*].Instances[].[Tags[?Key==
Name
].Value | join(,
, @), InstanceId | join(,
, to_array(to_string(@))) ]' --output tableHow can I limit the results to only those servers who match some string - like [Tags[?Key==
Name
].Value == serverxyzBeta Was this translation helpful? Give feedback.
All reactions