diff --git a/internal/lang/checks.go b/internal/lang/checks.go index 13b2cf8a26..7c6b39818a 100644 --- a/internal/lang/checks.go +++ b/internal/lang/checks.go @@ -79,9 +79,7 @@ You can correct this by removing references to sensitive values, or by carefully Detail: `The error expression used to explain this condition refers to ephemeral values, so Terraform will not display the resulting message. You can correct this by removing references to ephemeral values, or by using the ephemeralasnull() function on the references to not reveal ephemeral data.`, - Subject: expr.Range().Ptr(), - Expression: expr, - EvalContext: hclCtx, + Subject: expr.Range().Ptr(), }) return "", diags }