update null variable error text
This commit is contained in:
parent
b71b393cf6
commit
1f873776e8
|
@ -260,7 +260,7 @@ func (n *nodeModuleVariable) evalModuleCallArgument(ctx EvalContext, validateOnl
|
||||||
diags = diags.Append(&hcl.Diagnostic{
|
diags = diags.Append(&hcl.Diagnostic{
|
||||||
Severity: hcl.DiagError,
|
Severity: hcl.DiagError,
|
||||||
Summary: `Invalid variable value`,
|
Summary: `Invalid variable value`,
|
||||||
Detail: fmt.Sprintf(`The resolved value of variable %q cannot be null.`, n.Addr),
|
Detail: fmt.Sprintf(`The variable %q is required, but the given value resolved to null`, n.Addr),
|
||||||
Subject: &n.Config.DeclRange,
|
Subject: &n.Config.DeclRange,
|
||||||
})
|
})
|
||||||
// Stub out our return value so that the semantic checker doesn't
|
// Stub out our return value so that the semantic checker doesn't
|
||||||
|
|
Loading…
Reference in New Issue