We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46be337 commit d711b96Copy full SHA for d711b96
terraform/modules/dynamo/main.tf
@@ -256,6 +256,26 @@ resource "aws_dynamodb_table" "stripe_links" {
256
}
257
258
259
+resource "aws_dynamodb_table" "stripe_payments" {
260
+ billing_mode = "PAY_PER_REQUEST"
261
+ name = "${var.ProjectId}-stripe-payments"
262
+ deletion_protection_enabled = true
263
+ hash_key = "primaryKey"
264
+ range_key = "sortKey"
265
+
266
+ point_in_time_recovery {
267
+ enabled = true
268
+ }
269
+ attribute {
270
+ name = "primaryKey"
271
+ type = "S"
272
273
274
275
+ name = "sortKey"
276
277
278
+}
279
resource "aws_dynamodb_table" "linkry_records" {
280
billing_mode = "PAY_PER_REQUEST"
281
name = "${var.ProjectId}-linkry"
0 commit comments