replace ami_image_id with image_id