Amber Portwood's "Teen Mom" career is teetering on the edge of extinction ... because an Indiana judge has imposed a sentence that makes it next to impossible for Amber to appear on the MTV show anytime soon.
Portwood was in court yesterday to deal with the fallout of a recent drug arrest -- and hammered out details in a plea deal that will keep her out of the slammer ... as long as she doesn't screw up.
According to law enforcement sources ... Amber has been ordered to live in a halfway house for up to 3 years and get a court approved 9-to-5 job that she must attend at least 5 days a week.
We're told "Teen Mom" will NOT count as a job. PLUS, the judge has banned Portwood from taping any MTV project while staying at the halfway house, working her job or appearing in court. Doesn't leave Amber much room for reality TV.
Also, Amber is not allowed to tape anything while hanging out with any other girls who also live at the halfway house.
We're told the judge reached out to MTV ... and the network assured the court it would not sue Amber for breaking her contract with the show because of the sentencing ... a sure sign they are planning on moving on from her story.