1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-06-29 12:37:25 +00:00

Improve aws_ebs output at aws module

This commit is contained in:
Daniel Carrillo 2018-12-13 20:13:12 +01:00
parent 1a48ae2e54
commit 23c56a5640

View File

@ -32,7 +32,7 @@ function aws_i {
function aws_ebs {
local profile=$(_get_aws_profile)
aws ec2 describe-volumes --profile $profile --output ${_aws_output} \
--query 'Volumes[*].{id:VolumeId,tag:Tags[0].Value,at:Attachments[0].InstanceId,size:Size,AZ:AvailabilityZone}'
--query 'Volumes[].[Tags[?Key==`Name`] | [0].Value, VolumeId, Attachments[0].InstanceId, Size, AvailabilityZone]'
}
function aws_elb {