Medication that causes type-2 diabetes is news to me. Most people get type-2, or insulin resistance, as a consequence of damaging their liver, and soaking in excess uric acid. Maybe your medication is hepatotoxic? If you are partially insulin-resistant, maybe it takes extra insulin to get the needed effect?
Robert Lustig has been curing fatty-liver-disease-induced type 2 diabetes in children by eliminating sugar from their diet. Of course kids get better faster than adults.
I would expect someone who knows he has induced type-2 diabetes to already be pretty damn careful about sugar intake...
But: I am not a physician. None of the above is competent medical advice.
That said, Robert Lustig says most physicians are woefully uninformed about liver pathology.