You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 10, 2025. It is now read-only.
Receiving the following warning when deploying using S3 and an associated DynamoDB locking state table:
│ Warning: Deprecated Parameter
│
│ with data.terraform_remote_state.cross-stack-reference-input-infra-services,
│ on cdk.tf.json line 44, in data.terraform_remote_state.cross-stack-reference-input-infra-services:
│ 44: }
│
│ The parameter "dynamodb_table" is deprecated. Use parameter "use_lockfile"
│ instead.
│
│ (and 2 more similar warnings elsewhere)
There doesn't appear to be support for setting this new property in CDKTF.
Steps to Reproduce
Configure a stack to use an S3 backend with a DynamoDB table for locking state
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Expected Behavior
Requesting to re-open #3834
This was closed with a workaround but the workaround isn't going to work for us, so requesting this get resolved without the need for a workaround.
Thanks to @chrisdrobison for raising this originally. Copying their original issue details below.
Add support for using the new S3 locking state capability. This is documented here:
https://developer.hashicorp.com/terraform/language/backend/s3
Actual Behavior
Receiving the following warning when deploying using S3 and an associated DynamoDB locking state table:
There doesn't appear to be support for setting this new property in CDKTF.
Steps to Reproduce
Versions
Providers
Gist
No response
Possible Solutions
No response
Workarounds
No response
Anything Else?
No response
References
Help Wanted
Community Note