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
..
2020-05-08 17:46:33 +02:00
2020-12-17 13:29:25 -08:00
2021-01-20 10:37:16 +01:00
2021-03-25 13:37:48 +01:00
2020-12-17 13:29:25 -08:00
2020-12-17 13:29:25 -08:00
2021-01-20 10:37:16 +01:00
2020-12-17 13:29:25 -08:00
2021-03-25 13:37:48 +01:00
2020-12-17 13:29:25 -08:00
2021-03-12 11:07:26 +01:00
2019-12-17 11:25:56 +01:00
2014-10-27 20:58:44 -07:00