Skip to content

Commit e333dd9

Browse files
committed
Remove old DynamoDB tables
1 parent ea4bc5f commit e333dd9

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

terraform/modules/dynamo/main.tf

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
resource "null_resource" "onetime_uin_migration" {
2-
depends_on = [aws_dynamodb_table.user_info]
3-
provisioner "local-exec" {
4-
command = <<-EOT
5-
set -e
6-
python uinHash-migration.py
7-
EOT
8-
interpreter = ["bash", "-c"]
9-
working_dir = "${path.module}/../../../onetime/"
10-
}
11-
}
12-
131
resource "aws_dynamodb_table" "app_audit_log" {
142
billing_mode = "PAY_PER_REQUEST"
153
name = "${var.ProjectId}-audit-log"
@@ -328,17 +316,3 @@ resource "aws_dynamodb_table" "cache" {
328316
enabled = true
329317
}
330318
}
331-
332-
resource "aws_dynamodb_table" "app_uin_records" {
333-
billing_mode = "PAY_PER_REQUEST"
334-
name = "${var.ProjectId}-uin-mapping"
335-
deletion_protection_enabled = false
336-
hash_key = "uinHash"
337-
point_in_time_recovery {
338-
enabled = true
339-
}
340-
attribute {
341-
name = "uinHash"
342-
type = "S"
343-
}
344-
}

0 commit comments

Comments
 (0)