terraform: test orphan dependency inversion