diff --git a/Packer.gitignore b/Packer.gitignore index f2d0a319..2cbc1ad0 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 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. +# +*.pkrvars.hcl + # For built boxes *.box diff --git a/Terraform.gitignore b/Terraform.gitignore index 22fca496..b1a7167f 100644 --- a/Terraform.gitignore +++ b/Terraform.gitignore @@ -9,9 +9,9 @@ crash.log crash.*.log -# Exclude all .tfvars 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 +# 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. # *.tfvars