Question d’entretien chez Accenture

Explain State File Locking in Terraform ?

Réponse à la question d'entretien

Utilisateur anonyme

6 mars 2024

State file locking is Terraform mechanism in which operations on a specific state file are blocked to avoid conflicts between multiple users performing the same process. When one user releases the lock, then only the other one can operate on that state. This helps in preventing state file corruption. This is a backend operation.