|
|
|
|
@ -18,11 +18,11 @@ functions to help you customize your builds.
|
|
|
|
|
Historically, Packer has used a JSON template for its configuration, but Packer
|
|
|
|
|
is transitioning to a new template configuration format that uses HCL2 -- the
|
|
|
|
|
same configuration language used by Terraform and HashiCorp's other products.
|
|
|
|
|
This format is more flexible, more modular, and more concise than the legacy
|
|
|
|
|
JSON template format. While the legacy JSON format is still supported, certain
|
|
|
|
|
This format is more flexible, more modular, and more concise than the original
|
|
|
|
|
JSON template format. While the JSON format is still supported, certain
|
|
|
|
|
new features in the Packer core will only be implemented for the newer HCL
|
|
|
|
|
format. Please use the side bar to find documentation for the different
|
|
|
|
|
template formats.
|
|
|
|
|
|
|
|
|
|
If you need help upgrading a legacy JSON template to an HCL template, check
|
|
|
|
|
If you need help upgrading a JSON template to an HCL template, check
|
|
|
|
|
our upgrade guide [here](/guides/hcl/from-json-v1).
|
|
|
|
|
|