terraform: fixing destroy dependency flipping twice