There's a whole theological reflection by the German pastor and theologian Dietrich Bonhoeffer, who participated in a tentative to kill Hitler. In a nutshell, he said that killing was always bad, but in some fringe cases, someone has to get their hands dirty.
He was killed by the Nazis after the failure of the killing attempt.
That's the internet I love: educational.