Run this quarterly, and additionally after a backend migration, after any change to who can reach the state bucket, and after any incident that touched state.
This is the review of the estate as it stands, not the gate for a backend you are about to build. The question it answers is narrower and harder: if the state file were lost or wrong this afternoon, which layer would you reach for, how far back would it take you, and has anybody used it?
The three layers, and what each one does not cover
A team that has all three layers usually cannot say which failure each one answers. The page groups the items by severity, so the sequence below is the reading order for this section rather than for the list itself.
Versioning answers a bad write — a state rm against the wrong address, an
apply from a stale branch. It does not answer anything that takes the bucket,
because the versions are inside the bucket.
Replication answers the loss of a region. It does not answer corruption, because it replicates the corruption faithfully and quickly.
The scheduled pull into a separate account answers a compromise of the primary account. It is the slowest layer, the one with the widest RPO, and the only one outside the blast radius of stolen credentials.
What a failure means
A critical finding here is not an outage today. It is the discovery that a
recovery you have assumed is available is not, which you would otherwise make
during the incident that needs it. None of these findings is urgent and most of
them are cheap; that combination is exactly why they stay open for a year.
Access this needs
Read access in the account that owns the state bucket, the lock table and the
key; read access in the backup account for the pull items; and a checkout for
the repository items. terraform state pull reads state and writes nothing.
Substitute the bucket, key, role and prefix names at the top of each command —
they match the naming used in the course lessons, not your estate.
Where the evidence goes
Record the measured RPO gap, the drill time and the findings in the same place the recovery runbook lives, so the next person to open the runbook sees when it was last exercised and what it cost. Five items here are attested rather than commanded — the force-unlock rate, the backup account boundary, the drill, the objectives and the record itself — and each needs the name of the person who confirmed it.
Sign-off
- Reviewer: ________________ Date: ___________
- Platform owner: ___________ Date: ___________
- Business owner (RPO/RTO): ___________ Date: ___________