Skip to content

Commit ff9596e

Browse files
committed
Exclude .pkrvars.hcl files
* Used description for .tfvars in Terraform.gitignore as a template
1 parent 218a941 commit ff9596e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Packer.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,13 @@ packer_cache/
44
# Crash log
55
crash.log
66

7+
# https://www.packer.io/guides/hcl/variables
8+
# Exclude all .pkrvars.hcl files, which are likely to contain sentitive data,
9+
# such as password, private keys, and other secrets. These should not be part of
10+
# version control as they are data points which are potentially sensitive and
11+
# subject to change depending on the environment.
12+
#
13+
*.pkrvars.hcl
14+
715
# For built boxes
816
*.box

0 commit comments

Comments
 (0)