jq -r

From wikieduonline
Revision as of 11:13, 30 June 2022 by Welcome (talk | contribs)
Jump to navigation Jump to search

aws ec2 describe-instances | jq -r '.Reservations[].Instances[]|.InstanceId+" "+.InstanceType+" "+(.Tags[] | select(.Key == "Name").Value)'
aws rds describe-db-instances | jq -r '.DBInstances[0].Endpoint.Address'


aws ec2 describe-vpcs | jq -r '.Vpcs[]'

See also

Advertising: