1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-09-28 23:52:38 +00:00

Add AZ to aws_ebs funcion

This commit is contained in:
Daniel Carrillo 2018-12-06 16:48:54 +01:00
parent 32084778d0
commit be68a38ff5

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}'
--query 'Volumes[*].{id:VolumeId,tag:Tags[0].Value,at:Attachments[0].InstanceId,size:Size,AZ:AvailabilityZone}'
}
function aws_elb {