Skip to content

Conversation

ibehren1
Copy link

Issue #, if available:
n/a

Description of changes:
Terraform 1.11.4 is the current version as of 4/9/2025. In Terraform 1.11.x and greater, using dynamodb_table has been deprecated in favor of use_lockfile. Running the code with 1.11.x+ throws following warning.

|
│ Warning: Deprecated Parameter
│
│   on backend.tf line 10, in terraform:
│   10:     dynamodb_table = "daivi-ibehr-tf-back-end-lock"
│
│ The parameter "dynamodb_table" is deprecated. Use parameter "use_lockfile" instead.
|

Included code works for Terraform 1.11.x and should work for 1.10.x. Project should be updated to require Terraform>=1.10.x which supports use_lockfile.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Isaac Behrens added 3 commits April 30, 2025 16:20
…= "###TF_S3_BACKEND_NAME###-lock"` to `use_lockfile = true` which is required in Terraform 1.11.4+.
…= "###TF_S3_BACKEND_NAME###-lock"` to `use_lockfile = true` which is required in Terraform 1.11.4+.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant