github.com/hashicorp/packer@v1.14.3/website/content/partials/from-1.5/beta-hcl2-note.mdx (about) 1 -> **Note:** This page is about HCL2 Packer templates. HCL2 templates 2 were first introduced as a beta feature into Packer version 1.5. As of v1.7, 3 HCL2 support is no longer in beta, and is the preferred way to write Packer 4 configuration. For the old-style stable configuration language see 5 [template docs](/packer/docs/templates/legacy_json_templates). As of v1.6.2, you can 6 convert your legacy JSON template into an HCL2 config file using the 7 [hcl2_upgrade command](/packer/docs/commands/hcl2_upgrade).