No, Russia was ready to attack Ukraine if they joined NATO, making Ukraine a significant military threat to Russia. When NATO and Ukraine started making plans to do this, Putin said, screw it, we are going to war. NATO's plans for this started as early as 2008, or earlier.