State locking on the S3 backend: use_lockfile and the DynamoDB migration
In one line: use_lockfile writes a .tflock object beside the state; keep dynamodb_table during cutover and use -lock-timeout to queue runs.
You’ve read your 2 free Terraform Pro 002 lessons
Sign up free to read every lesson — your progress is saved.