Let $R$ be a principal ideal domain with $|R|=\infty$. Suppose $M$ is an $R$-module such that $2 \le |M| < \infty$. What properties does this imply about $R$?
Background: I was hoping that $R\cong \mathbb{Z}$ is the only possibility, since $M$ is (also) a finitely generated $\mathbb{Z}$-module.