From ff9596eb4cdb024b01d6671610f4f82d7ebf5a62 Mon Sep 17 00:00:00 2001 From: Troy Lindsay Date: Sun, 30 Aug 2020 18:59:44 -0500 Subject: [PATCH] Exclude .pkrvars.hcl files * Used description for .tfvars in Terraform.gitignore as a template --- Packer.gitignore | 8 ++++++++ 1 file changed, 8 insertions(+) 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