You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function get_elbs_in_vpc {
# ELB doesn't seem to be on the same platform as the rest of AWS; doesn't support filtering
aws elb --output json describe-load-balancers | \
python -c "import json,sys; lst = [str(lb['LoadBalancerName']) for lb in json.load(sys.stdin)['LoadBalancerDescriptions'] if lb['VPCId'] == '$1']; print('\n'.join(lst))"
}
Traceback (most recent call last):
File "<string>", line 1, in <module>
KeyError: 'VPCId'
The text was updated successfully, but these errors were encountered:
ajohnstone
added a commit
to ajohnstone/kubernetes
that referenced
this issue
Apr 2, 2016
Assumes all ELBs are within a VPC.
./kubernetes/cluster/aws/util.sh
The text was updated successfully, but these errors were encountered: