An Indian River County Sheriff's Office deputy was wounded during an exchange of gunfire with a suspect after he was attacked.