From: Gianluca Recchia Date: Mon, 22 Apr 2024 09:27:20 +0000 (+0200) Subject: Ignore lock info files in terraform `.gitignore` X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3249072f3b096989167682c25aa558540bcced91;p=gitignore.git Ignore lock info files in terraform `.gitignore` This is recommended by the official Style Guide here: https://developer.hashicorp.com/terraform/language/style#gitignore. --- diff --git a/Terraform.gitignore b/Terraform.gitignore index 9b8a46e6..2faf43d0 100644 --- a/Terraform.gitignore +++ b/Terraform.gitignore @@ -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