basic script to list 'failed' ec2 instance