packer-cn/command/test-fixtures
Adrien Delorme 77a29fc2f8
Allow to have `dynamic` blocks in a `build` block + tests (#10825)
This :
* allows to have a `build.dynamic` block
* add tests
* makes sure to show a correct message when a source was not found
  * display only name of source (instead of a weird map printout) 
  * use a "Did you mean %q" feature where possible 


Because dynamic blocks need all variables to be evaluated and available, I moved parsing of everything that is not a variable to "after" variables are extrapolated. Meaning that dynamic block get expanded in the `init` phase and then only we start interpreting HCL2 content.

After #10819 fix #10657
2021-03-30 15:53:04 +02:00
..
build-name-and-type add build.name to hcl code (#10114) 2020-10-16 10:57:42 +02:00
build-only Fix force flag for hcl2 provisioners and post-processors (#10571) 2021-02-05 10:57:14 +01:00
build-variable-sharing Revert "Share build info with Provisioner and Post-Processor via HCL2 variables (#9444)" 2020-07-02 15:07:29 +02:00
cleanup-script rename option to error-cleanup-privisoner, which I think is clearer 2019-09-25 13:43:29 -07:00
fix command/fix: validate resulting template [GH-2075] 2015-06-13 13:56:09 -04:00
fix-invalid command/fix: validate resulting template [GH-2075] 2015-06-13 13:56:09 -04:00
fmt command/fmt: Ensure all variable files ending in `.pkrvars.hcl` get formatted (#10377) 2020-12-14 10:29:58 -05:00
hcl Allow to have `dynamic` blocks in a `build` block + tests (#10825) 2021-03-30 15:53:04 +02:00
hcl-inspect-with-sensitive-vars add tests 2020-10-02 10:49:21 +02:00
hcl-only-except hcl work on only/except (#9454) 2020-06-23 10:53:16 +02:00
hcl2_upgrade remove .mdx extensions in links (#10823) 2021-03-25 14:02:21 +01:00
inspect add tests for unknown values 2020-09-01 15:28:16 +02:00
parallel add tests for cancellation while building 2019-05-06 15:07:57 +02:00
provisioners add tests and update override example 2020-08-14 11:22:51 +02:00
timeout test provisionning timeout 2019-04-08 20:09:21 +02:00
validate (2) Implement datasources (#10440) 2021-01-20 10:37:16 +01:00
validate-invalid command/validate: Add support for HCL2 configuration files 2020-06-05 14:24:39 -04:00
var-arg test unknown variables and locals 2020-09-01 11:59:07 +02:00
version_req HCL2: add a packer block with a required_version input setting (#10149) 2020-10-27 10:03:36 +01:00