mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-26 17:01:04 -06:00
udpate diagnostic message
This commit is contained in:
parent
1f873776e8
commit
6d050c166e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user