Skip to content

Commit

Permalink
Merge 868450b into backport/fix-template-export/lately-whole-yeti
Browse files Browse the repository at this point in the history
  • Loading branch information
hc-github-team-packer authored Jan 26, 2024
2 parents 16df108 + 868450b commit 100ab0d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions hcl2template/types.packer_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,6 @@ func (cfg *PackerConfig) EvalContext(ctx BlockContext, variables map[string]cty.
"name": cty.UnknownVal(cty.String),
}),
buildAccessor: cty.UnknownVal(cty.EmptyObject),
packerAccessor: cty.ObjectVal(map[string]cty.Value{
"version": cty.StringVal(cfg.CorePackerVersionString),
"iterationID": cty.UnknownVal(cty.String),
"versionFingerprint": cty.UnknownVal(cty.String),
}),
pathVariablesAccessor: cty.ObjectVal(map[string]cty.Value{
"cwd": cty.StringVal(strings.ReplaceAll(cfg.Cwd, `\`, `/`)),
"root": cty.StringVal(strings.ReplaceAll(cfg.Basedir, `\`, `/`)),
Expand Down

0 comments on commit 100ab0d

Please sign in to comment.