mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-03 20:39:29 -05:00
When a template describes a build block without a source reference, the build should be considered invalid as we won't have a CoreBuild produced as a result of the need to have both. In current versions of Packer, this will produce an error message hinting that nothing will happen because of the lack of either build or source block. This commit takes the defined block, and points out to it as missing a source block as being the reason why nothing is happening, making it clearer what is required for an HCL2 build to be processed. |
||
|---|---|---|
| .. | ||
| complicated | ||
| duplicate_locals | ||
| validation | ||
| basic.pkr.hcl | ||
| duplicate_variable.pkr.hcl | ||
| duplicate_variables.pkr.hcl | ||
| empty.pkr.hcl | ||
| foo-string.variable.pkr.hcl | ||
| invalid_default.pkr.hcl | ||
| provisioner_variable_decoding.pkr.hcl | ||
| recursive_locals.pkr.hcl | ||
| set-foo-too-wee.hcl | ||
| unknown_key.pkr.hcl | ||
| unset_unused_string_variable.pkr.hcl | ||
| unset_used_string_variable.pkr.hcl | ||