diff --git a/Packer.gitignore b/Packer.gitignore index f2d0a319..6a573381 100644 --- a/Packer.gitignore +++ b/Packer.gitignore @@ -4,5 +4,13 @@ packer_cache/ # Crash log crash.log +# https://www.packer.io/guides/hcl/variables +# Exclude all .pkrvars.hcl files, which are likely to contain sentitive data, +# such as password, private keys, and other secrets. These should not be part of +# version control as they are data points which are potentially sensitive and +# subject to change depending on the environment. +# +*.pkrvars.hcl + # For built boxes *.box