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.
pull/8771/head
Mark Lewis 6 years ago committed by GitHub
parent 5a87760702
commit 70752e0488
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 <source directory>` to initiate
a build.
```hcl
# variables.pkr.hcl

Loading…
Cancel
Save