Not at all. Part of the oath I took said that I would well and faithfully discharge the duties of the office on which I entered. Part of that duty is obeying the orders of my superiors. If I cannot in good conscience do that then I should feel obligated to resign.
Duties-include weighing your actions against the constitutional provisions that are the bedrock of those duties.
Lawful orders, no?
We all must apply reason and pridence to every directive or order we are given. Otherwise, we are just a mindless minion.