(List (Com {[LIT_CHARS source]} {[DQ [VarSub KUBE_ROOT][LIT_CHARS /cluster/aws/common/common.sh]]} ) (= scope= flags=0 words=[] bindings=[('SSH_USER', {[LIT_CHARS admin]})]) (FunctionDef detect-jessie-image [] (If (DBracket {B1 UNARY_STRING_z {[DQ [VarSub AWS_IMAGE test_op=VS_TEST_HYPHEN {}]]}}) (List (= scope= flags=0 words=[] bindings=[('aws_account', {[DQ [LIT_CHARS 282335181503]]})]) (If (DBracket {B1 UNARY_STRING_z {[DQ [VarSub AWS_IMAGE_NAME test_op=VS_TEST_COLON_HYPHEN {}]]}}) (= scope= flags=0 words=[] bindings=[('AWS_IMAGE_NAME', {[DQ [LIT_CHARS k8s-1.3-debian-jessie-amd64-hvm-ebs-2016-06-18]]})]) ) (= scope= flags=0 words=[] bindings=[('AWS_IMAGE', {[ComSub (Com {[LIT_CHARS aws]} {[LIT_CHARS ec2]} {[LIT_CHARS describe-images]} {[LIT_CHARS --owner]} {[VarSub aws_account]} {[LIT_CHARS --filters]} {[LIT_VAR_LIKE "Name="] [LIT_CHARS name] [LIT_COMMA ","] [LIT_VAR_LIKE "Values="] [VarSub AWS_IMAGE_NAME] =} {[LIT_CHARS --query]} {[LIT_CHARS Images] [LIT_DBRACKET_LIKE "[]"] [LIT_CHARS .ImageId]} {[LIT_CHARS --output]} {[LIT_CHARS text]})]})]) (If (DBracket {B1 UNARY_STRING_z {[DQ [VarSub AWS_IMAGE test_op=VS_TEST_HYPHEN {}]]}}) (List (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Please specify AWS_IMAGE directly (image "][VarSub AWS_IMAGE_NAME][LIT_CHARS " not found in region "][VarSub AWS_REGION][LIT_CHARS ")"]]} ) (Com {[LIT_CHARS exit]} {[LIT_CHARS 1]} ) ) ) ) ) ) )