SaveMyCert
Log in
2 of 2 free questions left today·for 5 a day
Terraform state and backend operations

State locking on the S3 backend: use_lockfile and the DynamoDB migration

1 min read · 295 wordsTerraform Pro 002Updated

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.

Spotted a mistake in this part?

Part 5 of 10Next