I am trying to figure out how the solution for ridge regression changes when the error term is independent but NOT identically distributed such as $\mathbb\epsilon = \mathcal{N}(0, \Sigma)$ rather than $\mathbb\epsilon = \mathcal{N}(0, \sigma^{2})$
In standard ridge regression we have:
$$\hat \beta(\lambda) = \arg\min_{\beta}\left\{\frac 1 n \sum_{i=1}^n (y_i -x_i^T \beta)^2 + \lambda \|\beta\|_2^2\right\}$$
which can be solved as:
$$\hat\beta(\lambda) = (X^TX + \lambda I)^{-1} X^T y$$
when we use $\mathbb\epsilon = \mathcal{N}(0, \sigma^{2})$.
I am struggling with how to determine the difference when one would assume $\mathbb\epsilon = \mathcal{N}(0, \Sigma)$ instead. My initial thought was it would be:
$$\hat\beta(\lambda) = (X^TX + \lambda \Sigma)^{-1} X^T y$$
but I think I am off track there. In the end I want to calculate MSE, Bias and Varience using this alternate error distribution as described here,
Ridge Regression: how to show squared bias increases as $\lambda$ increases