backport of commit bb26771e2d

This commit is contained in:
Lucas Bajolet
2023-11-27 21:37:43 +00:00
parent ebf057b7a1
commit 5ddbf8a40d
-1
View File
@@ -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
}