Interview Prep/Terraform/State and Backends in Production

How can you audit who changed state and when?

BeginnerProductionState and Backends in Production
Answer

S3 versioning keeps every revision with timestamps, CloudTrail data events on the bucket show which principal wrote it, and the CI system's run history links each write to a commit and approver. With HCP Terraform, run and state version history is built in.

All Terraform questions Roadmap: Terraform in production

More on State and Backends in Production