Deprecation of dynamodb_table in Terraform S3 Backend

Current Status | Still works with a warning in Terraform v1.12.x and v1.13.x

Request you to please tell by when it will be stop supporting.

Thanks

A. Before (Deprecated Configuration)

terraform {
backend “s3” {
bucket = “my-terraform-state”
key = “env/terraform.tfstate”
region = “us”
dynamodb_table = “my-lock-table” # :cross_mark: Deprecated
}
}
B. After (Updated Configuration)

terraform {
backend “s3” {
bucket = “my-terraform-state”
key = “env/terraform.tfstate”
region = “us”
use_lockfile = true # :white_check_mark: New native S3 locking
}
}

can someone pls reply to this thread? Thanks

Hi @Natarajan77,

I don’t think the AWS developers are actively monitoring the community forums, so any responses here are going to be on a voluntary basis. While the feature could theoretically be removed in an upcoming release since it has been a year with multiple releases in the interim, it’s more likely it will be retained until the support of the feature becomes a maintenance burden for some reason. You are also not obligated to immediately upgrade Terraform if it is removed, allowing a yet a little more flexibility in the process.