mirror of
https://github.com/hashicorp/packer.git
synced 2026-03-04 14:31:33 -05:00
* Allow locals to be delcared as individual blocks, and give them the Sensitive flag * add docs for new local block * linting * add tests * modified parsing to use schema, check for dupes properly * update comment fix wording a liiitle * add tests for duplicate variables definition in two different files * remove unnecessary slice initialisation * fix crash by returning when decode error is hit * parseLocalVariables: only treat a local vars if its not nil also return in case of error return locals in case of error too * fix duplicate_locals test for windows Co-authored-by: Adrien Delorme <azr@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| 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 | ||