packer/command/test-fixtures/hcp
Lucas Bajolet 7cd095062a parser: extract HCP logic out of the HCL parser
Before this commit, some HCP-related logic was embedded in the parser,
making all of it common to all commands.

This complexifies the logic as some parts rely on the template being in
a HCP-valid environment, and the datasources need to be evaluated in
order for some operations to be executed.

To simplify this and avoid those pitfalls, we move this logic to its own
set of functions that will be performed after the parsing is done, on
any valid HCL2 or JSON template.
2022-08-12 11:54:21 -04:00
..
build-description.pkr.hcl parser: extract HCP logic out of the HCL parser 2022-08-12 11:54:21 -04:00
deprecated_labels.pkr.hcl parser: extract HCP logic out of the HCL parser 2022-08-12 11:54:21 -04:00
dup_build_blocks.pkr.hcl parser: extract HCP logic out of the HCL parser 2022-08-12 11:54:21 -04:00
duplicate.pkr.hcl parser: extract HCP logic out of the HCL parser 2022-08-12 11:54:21 -04:00
hcp_build.json parser: extract HCP logic out of the HCL parser 2022-08-12 11:54:21 -04:00
hcp_normal.pkr.json parser: extract HCP logic out of the HCL parser 2022-08-12 11:54:21 -04:00
multiple_sources.pkr.hcl parser: extract HCP logic out of the HCL parser 2022-08-12 11:54:21 -04:00
override-build-description.pkr.hcl parser: extract HCP logic out of the HCL parser 2022-08-12 11:54:21 -04:00
slug.pkr.hcl parser: extract HCP logic out of the HCL parser 2022-08-12 11:54:21 -04:00
variable-for-bucket_name.pkr.hcl parser: extract HCP logic out of the HCL parser 2022-08-12 11:54:21 -04:00