mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 18:38:00 +00:00
Add AZ to aws_ebs funcion
This commit is contained in:
parent
32084778d0
commit
be68a38ff5
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user