Terraform State: Remote Backends and Locking
The state file is Terraform's memory: which real resources belong to which blocks in your code. For a team, it must be shared, locked during changes and protected, because it can contain secrets. An S3 backend with locking terraform { backend "s3" { bucket = "...