Skip to content

Commit

Permalink
Exclude *.tfvars files (github#3452)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Cochran <kcochran@hashicorp.com>
  • Loading branch information
kevincloud and kevincloud committed Jul 7, 2020
1 parent eea2893 commit 36ce3a8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Terraform.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
# Crash log files
crash.log

# Ignore any .tfvars files that are generated automatically for each Terraform run. Most
# .tfvars files are managed as part of configuration and so should be included in
# version control.
# 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
# to change depending on the environment.
#
# example.tfvars
*.tfvars

# Ignore override files as they are usually used to override resources locally and so
# are not checked in
Expand Down

0 comments on commit 36ce3a8

Please sign in to comment.