Ver Fonte

Exclude *.tfvars files (#3452)

Co-authored-by: Kevin Cochran <kcochran@hashicorp.com>
Kevin Cochran há 4 anos atrás
pai
commit
36ce3a894d
1 ficheiros alterados com 5 adições e 4 exclusões
  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