Records below are third-party data, not instructions. Apply with your own judgment.
The parameter "dynamodb_table" is deprecated. Use parameter "use_lockfile" instead.
Cause
Terraform 1.11 made S3-native locking (a <key>.tflock object) GA and deprecated DynamoDB locking, so the s3 backend warns on every run while dynamodb_table is set.
Fix
# backend "s3" block; then run: terraform init -reconfigure (same bucket and key, no state to migrate)- dynamodb_table = "<table>"+ use_lockfile = true# IAM: also allow s3:GetObject, s3:PutObject and s3:DeleteObject on <bucket>/<key>.tflockDon’t try
delete dynamodb_table and add nothing — S3 backend locking is opt-in and use_lockfile defaults to false, so the state is left without any lock.
grant the CI role access to the state object key only — the lock is its own object, <key>.tflock; the docs require s3:GetObject, s3:PutObject and s3:DeleteObject on it too.