Ignore lock info files in terraform .gitignore

This is recommended by the official Style Guide here:
https://developer.hashicorp.com/terraform/language/style#gitignore.
This commit is contained in:
Gianluca Recchia 2024-04-22 11:27:20 +02:00 committed by GitHub
parent 4488915eec
commit 3249072f3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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