From 562263f2a351f6defe40ce95e24bb85ca826d65b Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Sun, 12 Nov 2023 13:24:16 -0800 Subject: [PATCH] Correct the readme's Terraform If you specify the leaseDuration as an attribute, DynamoDb is going to give you a confusing error and want it to be indexed :confused: --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index 07901c4..49082ae 100644 --- a/README.md +++ b/README.md @@ -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