don't force to set unused variables too
This commit is contained in:
parent
382f209b07
commit
e851050774
|
@ -107,11 +107,6 @@ func (p *Parser) parse(filename string, vars map[string]string) (*PackerConfig,
|
|||
diags = append(diags, cfg.evaluateLocalVariables(locals)...)
|
||||
}
|
||||
|
||||
// _, moreDiags := cfg.InputVariables.Values()
|
||||
// diags = append(diags, moreDiags...)
|
||||
// _, moreDiags = cfg.LocalVariables.Values()
|
||||
// diags = append(diags, moreDiags...)
|
||||
|
||||
// parse var files
|
||||
{
|
||||
hclVarFiles, jsonVarFiles, moreDiags := GetHCL2Files(filename, hcl2VarFileExt, hcl2VarJsonFileExt)
|
||||
|
|
Loading…
Reference in New Issue