Merge pull request #10381 from hashicorp/f-cv-fix-missing-var-msg

Fix link in error for missing variable
This commit is contained in:
Mahmood Ali
2021-04-14 13:02:22 -04:00
committed by GitHub

View File

@@ -150,7 +150,7 @@ func (v *Variable) Value() (cty.Value, hcl.Diagnostics) {
Severity: hcl.DiagError,
Summary: fmt.Sprintf("Unset variable %q", v.Name),
Detail: "A used variable must be set or have a default value; see " +
"https://packer.io/docs/configuration/from-1.5/syntax for " +
"https://www.nomadproject.io/docs/job-specification/hcl2/variables for " +
"details.",
Context: v.Range.Ptr(),
}}