Skip to content

Commit fd8276a

Browse files
authored
Modify .gitignore to refine ignored file patterns
Updated .gitignore to include patterns for .terraform files and .tfvars.json.
1 parent 6d93f1c commit fd8276a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.gitignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Local .terraform directories
2-
.terraform/
2+
*.terraform**
33

44
# .tfstate files
55
*.tfstate
@@ -13,7 +13,6 @@ crash.*.log
1313
# password, private keys, and other secrets. These should not be part of version
1414
# control as they are data points which are potentially sensitive and subject
1515
# to change depending on the environment.
16-
*.tfvars
1716
*.tfvars.json
1817

1918
# Ignore override files as they are usually used to override resources locally and so
@@ -25,7 +24,7 @@ override.tf.json
2524

2625
# Ignore transient lock info files created by terraform apply
2726
.terraform.tfstate.lock.info
28-
27+
.terraform.lock.hcl
2928
# Include override files you do wish to add to version control using negated pattern
3029
# !example_override.tf
3130

0 commit comments

Comments
 (0)