Fix link in error for missing variable

This commit is contained in:
Charlie Voiselle
2021-04-14 12:55:00 -04:00
parent eb834fe122
commit a91a211c73

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(),
}}