From be68a38ff5643ca2dcc099551b91c2b37a3c884e Mon Sep 17 00:00:00 2001 From: dcarrillo Date: Thu, 6 Dec 2018 16:48:54 +0100 Subject: [PATCH] Add AZ to aws_ebs funcion --- modules/aws/init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/aws/init.zsh b/modules/aws/init.zsh index 169931d..13ba8dd 100644 --- a/modules/aws/init.zsh +++ b/modules/aws/init.zsh @@ -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 {