Fix issues with Python3 and bring up a dev cluster

This commit is contained in:
Josh Ellithorpe
2016-01-11 17:18:41 -08:00
committed by quest
parent 651206fd90
commit 76e8a8b08d
7 changed files with 9 additions and 9 deletions

View File

@@ -117,7 +117,7 @@ function get_igw_id {
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)"
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))"
}
function get_instanceid_from_name {