revised to create a dict of attributes that will be passed to run_instances(image_id=attributes['image_id']) like that