Page MenuHomePhabricator

D8832.diff
No OneTemporary

D8832.diff

diff --git a/services/terraform/modules/shared/dynamodb.tf b/services/terraform/modules/shared/dynamodb.tf
--- a/services/terraform/modules/shared/dynamodb.tf
+++ b/services/terraform/modules/shared/dynamodb.tf
@@ -230,9 +230,6 @@
}
resource "aws_dynamodb_table" "identity-nonces" {
- # This table doesnt exist in prod
- count = var.is_dev ? 1 : 0
-
name = "identity-nonces"
hash_key = "nonce"
billing_mode = "PAY_PER_REQUEST"
@@ -241,6 +238,11 @@
name = "nonce"
type = "S"
}
+
+ ttl {
+ attribute_name = "expirationTimeUnix"
+ enabled = true
+ }
}
resource "aws_dynamodb_table" "identity-reserved-usernames" {

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 4:27 AM (21 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2587960
Default Alt Text
D8832.diff (671 B)

Event Timeline