terraform: orphans should properly depend on modules