Ravi Sir's Cards › AWS
Where is state?
This comparison card contrasts Where is state. Local state (terraform.tfstate on one laptop): races and loss risk. Remote state (S3) is described as shared state in S3 with locking. The card pairs Local state with never for shared prod, and Remote state (S3) with default for teams.
Read card text
What this card says
Where is state?
Local state
terraform.tfstate on one laptop — races and loss risk.
Remote state (S3)
Shared state in S3 with locking.
Key points
Solo hobby project.
Any team or CI apply.
Example
./terraform.tfstate / backend "s3" { bucket = ... }
Use when
Never for shared prod.
Default for teams.