1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-09-29 03:22: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 { function aws_ebs {
local profile=$(_get_aws_profile) local profile=$(_get_aws_profile)
aws ec2 describe-volumes --profile $profile --output ${_aws_output} \ 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 { function aws_elb {