From 70752e048841de0709e506da3bdf9c8e5a84bb5b Mon Sep 17 00:00:00 2001 From: Mark Lewis <56076038+ml4@users.noreply.github.com> Date: Tue, 18 Feb 2020 09:55:30 +0000 Subject: [PATCH] Add prompt to use a specific directory for *.pkr.hcl (#8757) This improves usability as many users will still expect to use `packer build config.pkr.hcl` having run `packer build config.json` in the past. --- website/source/guides/hcl/variables/index.html.md.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/source/guides/hcl/variables/index.html.md.erb b/website/source/guides/hcl/variables/index.html.md.erb index 8ba9a4b1f..ee7d6a701 100644 --- a/website/source/guides/hcl/variables/index.html.md.erb +++ b/website/source/guides/hcl/variables/index.html.md.erb @@ -19,7 +19,9 @@ Local variables can be a compound of input variables and local variables. Let's create a file `variables.pkr.hcl` with the following contents. -> **Note**: that the file can be named anything, since Packer loads all -files ending in `.pkr.hcl` in a directory. +files ending in `.pkr.hcl` in a directory. If you split your configuration +across multiple files, use `packer build ` to initiate +a build. ```hcl # variables.pkr.hcl