From ff9596eb4cdb024b01d6671610f4f82d7ebf5a62 Mon Sep 17 00:00:00 2001 From: Troy Lindsay Date: Sun, 30 Aug 2020 18:59:44 -0500 Subject: [PATCH 1/2] 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 From f75292bf4d55d37ea9645036b933a3879c79c001 Mon Sep 17 00:00:00 2001 From: Troy Lindsay Date: Sun, 30 Aug 2020 19:21:51 -0500 Subject: [PATCH 2/2] Fix typos s/sentitive/sensitive/ --- Packer.gitignore | 2 +- Terraform.gitignore | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Packer.gitignore b/Packer.gitignore index 6a573381..2cbc1ad0 100644 --- a/Packer.gitignore +++ b/Packer.gitignore @@ -5,7 +5,7 @@ packer_cache/ crash.log # https://www.packer.io/guides/hcl/variables -# Exclude all .pkrvars.hcl files, which are likely to contain sentitive data, +# Exclude all .pkrvars.hcl files, which are likely to contain sensitive 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. diff --git a/Terraform.gitignore b/Terraform.gitignore index beb38d84..b3d1d393 100644 --- a/Terraform.gitignore +++ b/Terraform.gitignore @@ -8,7 +8,7 @@ # Crash log files crash.log -# Exclude all .tfvars files, which are likely to contain sentitive data, such as +# Exclude all .tfvars files, which are likely to contain sensitive 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.