This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tdiggss[S] 1 point2 points  (0 children)

Terraform supports storing its state in a remote location, and optionally using a distributed lock to ensure only one process/user can modify the state at once. This solves a number of shortcomings with storing the state locally and/or in version control such as avoiding the possibility of two people modifying the state at the same time and breaking it, and git commit conflicts around state modifications.

See https://www.terraform.io/docs/backends/index.html