From 9ce9f49f4d99b7ea6402c04c27f6a1f1c98fc8f7 Mon Sep 17 00:00:00 2001 From: sylviamoss Date: Tue, 16 Feb 2021 12:48:07 +0100 Subject: [PATCH] fix types and add text to templates index --- website/content/docs/templates/index.mdx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/website/content/docs/templates/index.mdx b/website/content/docs/templates/index.mdx index e1cedeccb..6afafa7d8 100644 --- a/website/content/docs/templates/index.mdx +++ b/website/content/docs/templates/index.mdx @@ -1,6 +1,6 @@ --- description: | - This section describes the configruation language used to create Packer + This section describes the configuration language used to create Packer templates. page_title: Templates --- @@ -9,7 +9,7 @@ page_title: Templates Packer's behavior is determined by the Packer template, which consists of a series of declarations and commands for Packer to follow. This template tells -Packer what plugins (builders, provisioners, post-proecssors) to use, how to +Packer what plugins (builders, provisioners, post-processors) to use, how to configure each of those plugins, and what order to run them in. The template contains flexible variable injection tools, as well as built-in @@ -24,5 +24,8 @@ 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. +From version **1.7.0**, HCL2 becomes officially the preferred way to write Packer +configuration(s). + If you need help upgrading a JSON template to an HCL template, check our upgrade guide [here](/guides/hcl/from-json-v1).