Q:

AWK Print $2 Breaking Bash Args

I'm trying to capture the output from an EC2 command with AWK.  The AWK portion works and the EC2 command work.  The problem is, I pass arguments to the script and one of them conflicts with the style of AWK.  Specifically print $2
Proper segment is 
cmd="/opt/aws/bin/ec2-run-instances -O $secid  -W $seckey $ami  -n $1 -g $secg -k $sshkey -t $instsize -z $2 | awk '/^INSTANCE/ {print $2}'

As you can see, I need that print $2 to capture the EC2 instance id. Is there a workaround without changing my arg format? 
Thanks! 
RESERVATION     r-******      ********    www.abc.com
INSTANCE        i-****      ami-*****

A:

result=$(/opt/aws/bin/ec2-run-instances -O $secid  -W $seckey $ami  -n $1 -g $secg -k $sshkey -t $instsize -z $2 | awk '/^INSTANCE/ {print $2}')
for instance_id in $result; do echo $instance_id; done

