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
已提問 2 年前檢視次數 49 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南