From 3249072f3b096989167682c25aa558540bcced91 Mon Sep 17 00:00:00 2001 From: Gianluca Recchia Date: Mon, 22 Apr 2024 11:27:20 +0200 Subject: [PATCH] Ignore lock info files in terraform `.gitignore` This is recommended by the official Style Guide here: https://developer.hashicorp.com/terraform/language/style#gitignore. --- Terraform.gitignore | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5