Make that the next 2 decades. Possibly more. There's the Super Sukhoi program. Elaborate ventures in the SSBN, SSN sphere. Su 57 . S-500. These are but few of the programs off the top of my mind, I could think of. This isn't a partnership that's going away too soon.
Direct weapons imports should finish in 5 years. And the T-90MS, new S-400 and even the Su-57, if it happens, could happen during this time. The next S-400 could also be replaced by the S-500 if necessary, but India also has long range SAM programs.
Upgrade and upkeep of existing systems plus whatever new we sign over the next few years could go on for many decades, unless we use our potential economic clout in the future to get rid of imported weapons earlier than planned, which is also a possibility and commonly done by rich countries in order to save expensive upgrade and upkeep costs.
As for SSN, SSBN etc, I'm pretty sure the project goal will be to indigenise everything that's critical by the time the ongoing programs end. We will want to retain complete autonomy over our subs for obvious reasons. There is a pretty big indigenisation thrust going on within DRDO for all projects. Earlier they would save money by importing some things, but now they are focusing on developing everything possible before opting for imports.
There's a similar goal even for the Su-30MKI upgrade. For example, if the cost of the program is not manageable and relations with Russia deteriorate due to the China factor, we may have to continue with the existing engine where we already have a lot of control and replace the Russian radar with Uttam instead. The indigenisation goal for the MKI upgrade is also pretty high.
We have slowly begun to step on many toes. We have started having conflicting views with Russia over Central Asia for example. Even Iran is getting farther away. There's also the fear of Russia not protecting Indian interests while eyeing weapons exports to Iran with respect to the technologies developed for MKI, T-90, Talwar class etc. Even economic projects are are not making any headway. The partnership is not going away, but it's not moving forward either.