Răsfoiți Sursa

Exclude *.tfvars files (#3452)

Co-authored-by: Kevin Cochran <kcochran@hashicorp.com>
Kevin Cochran 4 ani în urmă
părinte
comite
36ce3a894d
1 a modificat fișierele cu 5 adăugiri și 4 ștergeri
  1. 5 4
      Terraform.gitignore

+ 5 - 4
Terraform.gitignore

@@ -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