Since you were an eligible individual for only the first 6 months of 2017, your maximum contribution is 6/12 of a full-year contribution for an individual with self only coverage. That means that you would be eligible to contribute $1,700 if under age 55 in 2017 or $2,200 if age 55 or over.