packer-cn/command/test-fixtures/hcl
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
..
dynamic Allow to have `dynamic` blocks in a `build` block + tests (#10825) 2021-03-30 15:53:04 +02:00
inspect HCL2: allow calling env as input var default value (#10240) 2020-11-11 11:27:32 +01:00
recipes add language coment ! 2020-07-07 11:43:13 +02:00
reprepare core: Decode: when in HCL2 decoding mode; reset the whole struct before preparing it. (#9622) 2020-07-23 09:25:07 +02:00
validation/map add command/ tests 2020-11-02 15:50:38 +01:00
variables HCL2: when the type of a variable is not known evaluate setting as a litteral. (#9863) 2020-09-02 16:26:50 +02:00
datasource.pkr.hcl (2) Implement datasources (#10440) 2021-01-20 10:37:16 +01:00
force.pkr.hcl Fix force flag for hcl2 provisioners and post-processors (#10571) 2021-02-05 10:57:14 +01:00
provisioner-override.pkr.hcl add tests and update override example 2020-08-14 11:22:51 +02:00