I am looking for some rings $A$ and finitely generated $A$-modules $M$, where the conclusion of the Krull-Schmidt-Azumaya Theorem does not hold for $M$, i.e. where $M$ can be written as direct sums of indecomposable modules in multiple ways (the summands not being unique up to order and isomorphism). To be specific, I am looking for the following kinds of non-examples:
(1) I know that there is a Dedekind domain $A$ with a non-principal indecomposable ideal $I$ such that $I \oplus I \cong A \oplus A$, but I could not find a concrete example.
(2) Is there a non-example with $A = \mathbb{Z}G$ for some finite group $G$?
(3) Is there a non-example for $A = RG$ as in (2), where $R$ is a (non-complete) discrete valuation ring, for example $R = \mathbb{Z}_{(2)}$?
Thank you in advance!