udpate diagnostic message

This commit is contained in:
James Bardin 2021-11-01 12:28:55 -04:00
parent 1f873776e8
commit 6d050c166e
1 changed files with 1 additions and 1 deletions

View File

@ -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