1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-07-01 14:00:27 +00:00

Fix aws_ebs function at AWS module

This commit is contained in:
Daniel Carrillo 2018-11-20 17:19:28 +01:00
parent 108392b503
commit 236907f8af

View File

@ -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}'
} }