Skip to content

Commit 3c425d3

Browse files
committed
Update .gitignore
1 parent da7a304 commit 3c425d3

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.gitignore

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@
88
# Crash log files
99
crash.log
1010

11-
# Ignore any .tfvars files that are generated automatically for each Terraform run. Most
12-
# .tfvars files are managed as part of configuration and so should be included in
13-
# version control.
11+
# Exclude all .tfvars files, which are likely to contain sentitive data, such as
12+
# password, private keys, and other secrets. These should not be part of version
13+
# control as they are data points which are potentially sensitive and subject
14+
# to change depending on the environment.
1415
#
15-
# example.tfvars
16+
*.tfvars
1617

1718
# Ignore override files as they are usually used to override resources locally and so
1819
# are not checked in
@@ -27,3 +28,7 @@ override.tf.json
2728

2829
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
2930
# example: *tfplan*
31+
32+
# Ignore CLI configuration files
33+
.terraformrc
34+
terraform.rc

0 commit comments

Comments
 (0)