Trouble with AWS CLI for DRS

0

I'm trying to get output of a list of Server Names and SourceID for Elastic Disaster Recovery. When I run the following CLI

aws drs describe-source-servers --region us-west-2 --query "items[*].{Name:Tags[?Key=='Name']|[0].Value,sourceID:sourceServerID}" --output text

My output ends up looking like

None s-5c0f204f1e0e1a397

Any suggestions on how to get this to work?

cray
gefragt vor 2 Jahren49 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen