mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 16:18:00 +00:00
Fix aws_ebs function at AWS module
This commit is contained in:
parent
108392b503
commit
236907f8af
@ -30,7 +30,8 @@ function aws_i {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function aws_ebs {
|
function aws_ebs {
|
||||||
aws ec2 describe-volumes ---profile $profile --output ${_aws_output} \
|
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}'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user