Commit Graph

18 Commits (02e297b03411588b963b68a3a0ee801ca4e010e9)

Author SHA1 Message Date
Adrien Delorme c8300b620a allow to use hcl files as var files in HCL mode
6 years ago
Adrien Delorme 0ccff0d5b9 all variables must have a value.
6 years ago
Adrien Delorme 6d8cce501e tweak validation & add tests
6 years ago
Adrien Delorme 8482c6c2e6 evaluateLocalVariable: also pass the variable name
6 years ago
Adrien Delorme bd3112fa7c parseLocalVariables: simplify loop
6 years ago
Adrien Delorme 23b940dbd5 fix this !
6 years ago
Adrien Delorme 382f209b07 Update types.packer_config.go
6 years ago
Adrien Delorme 59cc246942 Merge remote-tracking branch 'origin/master' into fix_8730
6 years ago
Sylvia Moss 591b684f08
Fix HCL2 local variables decoding to allow local usage within another local in the same locals block (#8755)
6 years ago
Adrien Delorme cebfb1c735 give correct error when variable is unset
6 years ago
Sylvia Moss 2981fd627d
Avoid calling CoreBuild.Prepare(...) for HCL2 templates (#8742)
6 years ago
Adrien Delorme 193dad46e6
Hcl2 input variables, local variables and functions (#8588)
6 years ago
Adrien Delorme 2d1a67c6cb hcl2: allow to optionnaly name provisioners and post-processors
6 years ago
Adrien Delorme d8c33bc59e HCL: deshadown warnings from Parser.Parse
6 years ago
Megan Marsh 5bacd37014 fix pps
6 years ago
Megan Marsh 25711ed7d0 make HCL2 respect the new builder-returned generated vars list
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago
Adrien Delorme 2b0e0d4eab add hcl2template pkg
7 years ago