don't force to set unused variables too

This commit is contained in:
Adrien Delorme 2020-03-04 12:32:29 +01:00
parent 382f209b07
commit e851050774
1 changed files with 0 additions and 5 deletions

View File

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