From 5ddbf8a40d94b50b202cf21dc4eaf40591150cc8 Mon Sep 17 00:00:00 2001 From: Lucas Bajolet Date: Mon, 27 Nov 2023 21:37:43 +0000 Subject: [PATCH] backport of commit bb26771e2d5d92402011aa29d3f720ecd895f27b --- hcl2template/types.variables.go | 1 - 1 file changed, 1 deletion(-) diff --git a/hcl2template/types.variables.go b/hcl2template/types.variables.go index 33df28a84ee..b3754e8f111 100644 --- a/hcl2template/types.variables.go +++ b/hcl2template/types.variables.go @@ -741,7 +741,6 @@ func (cfg *PackerConfig) collectInputVariableValues(env []string, files []*hcl.F Severity: hcl.DiagError, Summary: "Invalid argument value for -var variable", Detail: fmt.Sprintf("The received arg value for %s is not compatible with the variable's type constraint: %s.", name, err), - Subject: expr.Range().Ptr(), }) val = cty.DynamicVal }