diff --git a/hcl2template/parser.go b/hcl2template/parser.go index 39b4c76ff..9ecbde9a2 100644 --- a/hcl2template/parser.go +++ b/hcl2template/parser.go @@ -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)