1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 12:48:01 +00:00

Improve output of aws_elb2 function at AWS module

This commit is contained in:
dcarrillo 2018-11-21 08:51:36 +01:00
parent 108392b503
commit 680fba3112

View File

@ -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 {