Skip to content

Commit

Permalink
Correct the readme's Terraform
Browse files Browse the repository at this point in the history
If you specify the leaseDuration as an attribute, DynamoDb is going to give you
a confusing error and want it to be indexed 😕
  • Loading branch information
rtyler committed Nov 12, 2023
1 parent 927e348 commit 562263f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ resource "aws_dynamodb_table" "oxbow_locking" {
type = "S"
}
# The leaseDuration is used by dynamodb-lock-rs and *must* be a Number type
attribute {
name = "leaseDuration"
type = "N"
}
ttl {
attribute_name = "leaseDuration"
enabled = true
Expand Down

0 comments on commit 562263f

Please sign in to comment.