Ind. Code § 35-35-1-2
(a) The court shall not accept a plea of guilty or guilty but mentally ill at the time of the crime without first determining that the defendant:
(2) has been informed that by the defendant's plea the defendant waives the defendant's rights to:
(5) has been informed that if:
(B) the court accepts the plea;
the court is bound by the terms of the plea agreement at the time of sentencing and with respect to sentence modification under IC 35-38-1-17 .
(c) Any variance from the requirements of this section that does not violate a constitutional right of the defendant is not a basis for setting aside a plea of guilty.
As added by Acts 1981, P.L.298, SEC.4. Amended by P.L.179-1984, SEC.1; P.L.313-1985, SEC.1; P.L.195-2003, SEC.3; P.L.114-2012, SEC.73; P.L.45-2018, SEC.1.