I think you have to stretch to attribute the Ukraine war to a resource competition. It's about cultural hegemony.
No surprise Russia wants it.
I don't think the Donbass was ever secure against being retaken. Hence no investment.
It's still strategically valuable, because you're still taking resources from the enemy.