mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 18:38:00 +00:00
Improve output of aws_elb2 function at AWS module
This commit is contained in:
parent
108392b503
commit
680fba3112
@ -43,7 +43,7 @@ function aws_elb {
|
||||
function aws_elb2 {
|
||||
local profile=$(_get_aws_profile)
|
||||
aws elbv2 describe-load-balancers --profile $profile --output ${_aws_output} \
|
||||
--query 'LoadBalancers[*].{dns:DNSName,vpc:VpcId,name:LoadBalancerName,subnets:AvailabilityZones[*].SubnetId}'
|
||||
--query "LoadBalancers[*].{dns:DNSName,vpc:VpcId,name:LoadBalancerName,subnets:AvailabilityZones[*].SubnetId | join(',', @)}"
|
||||
}
|
||||
|
||||
function aws_userdata {
|
||||
|
Loading…
Reference in New Issue
Block a user