From 6d050c166e70f0e3d293e6c67e18b17d4c1d35d7 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Mon, 1 Nov 2021 12:28:55 -0400 Subject: [PATCH] udpate diagnostic message --- internal/terraform/node_module_variable.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/terraform/node_module_variable.go b/internal/terraform/node_module_variable.go index af80c1d48..9f15587ec 100644 --- a/internal/terraform/node_module_variable.go +++ b/internal/terraform/node_module_variable.go @@ -260,7 +260,7 @@ func (n *nodeModuleVariable) evalModuleCallArgument(ctx EvalContext, validateOnl diags = diags.Append(&hcl.Diagnostic{ Severity: hcl.DiagError, Summary: `Invalid variable value`, - Detail: fmt.Sprintf(`The variable %q is required, but the given value resolved to null`, n.Addr), + Detail: fmt.Sprintf(`The variable %q is required, but the given value is null.`, n.Addr), Subject: &n.Config.DeclRange, }) // Stub out our return value so that the semantic checker doesn't