mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 17:28:01 +00:00
Add describe_ebs function to AWS module
This commit is contained in:
parent
a09155f990
commit
108392b503
@ -29,6 +29,11 @@ function aws_i {
|
||||
InstanceType, VpcId, InstanceId, Placement.AvailabilityZone, PrivateIpAddress, PublicIpAddress]'
|
||||
}
|
||||
|
||||
function aws_ebs {
|
||||
aws ec2 describe-volumes ---profile $profile --output ${_aws_output} \
|
||||
--query 'Volumes[*].{id:VolumeId,tag:Tags[0].Value,at:Attachments[0].InstanceId,size:Size}'
|
||||
}
|
||||
|
||||
function aws_elb {
|
||||
local profile=$(_get_aws_profile)
|
||||
aws elb describe-load-balancers --profile $profile --output ${_aws_output} \
|
||||
|
Loading…
Reference in New Issue
Block a user