Morality is personal. In any instance, we should think through first-, second-, and subsequent-order consequences of our actions and consider whether we're comfortable with those potential outcomes and whether those consequences balance one another.
I won't take the bait on defining the differences between wartime and peacetime work.