From 6d582ec5b7ace86b0f162da22a9da87abc0a5f68 Mon Sep 17 00:00:00 2001 From: Daniel Schmidt Date: Wed, 16 Oct 2024 17:08:44 +0200 Subject: [PATCH] remove expression and eval context from diagnostic --- internal/lang/checks.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 }