aboutsummaryrefslogtreecommitdiffstats
path: root/options/gitignore/Terraform
diff options
context:
space:
mode:
Diffstat (limited to 'options/gitignore/Terraform')
-rw-r--r--options/gitignore/Terraform6
1 files changed, 6 insertions, 0 deletions
diff --git a/options/gitignore/Terraform b/options/gitignore/Terraform
index 9b8a46e692..15073ca88b 100644
--- a/options/gitignore/Terraform
+++ b/options/gitignore/Terraform
@@ -23,6 +23,9 @@ override.tf.json
*_override.tf
*_override.tf.json
+# Ignore transient lock info files created by terraform apply
+.terraform.tfstate.lock.info
+
# Include override files you do wish to add to version control using negated pattern
# !example_override.tf
@@ -32,3 +35,6 @@ override.tf.json
# Ignore CLI configuration files
.terraformrc
terraform.rc
+
+# Ignore hcl file
+.terraform.lock.hcl