Skip to content

Commit 3249072

Browse files
authored
Ignore lock info files in terraform .gitignore
This is recommended by the official Style Guide here: https://developer.hashicorp.com/terraform/language/style#gitignore.
1 parent 4488915 commit 3249072

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Terraform.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ override.tf.json
2323
*_override.tf
2424
*_override.tf.json
2525

26+
# Ignore transient lock info files created by terraform apply
27+
.terraform.tfstate.lock.info
28+
2629
# Include override files you do wish to add to version control using negated pattern
2730
# !example_override.tf
2831

0 commit comments

Comments
 (0)