backport of commit bb26771e2d

pull/12716/head
Lucas Bajolet 3 years ago
parent ebf057b7a1
commit 5ddbf8a40d

@ -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
}

Loading…
Cancel
Save