aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Terraform.gitignore9
1 files changed, 5 insertions, 4 deletions
diff --git a/Terraform.gitignore b/Terraform.gitignore
index 8778d48f..beb38d84 100644
--- a/Terraform.gitignore
+++ b/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