Browse Source

Merge pull request #226 from mdr-engineering/hotfix/ftd_CleanUpDuringApplyAll

Fixes found during terragrunt-apply all
Frederick Damstra 4 years ago
parent
commit
3ba209fc77
1 changed files with 3 additions and 3 deletions
  1. 3 3
      base/teleport-single-instance/dynamo.tf

+ 3 - 3
base/teleport-single-instance/dynamo.tf

@@ -60,8 +60,8 @@ resource "aws_dynamodb_table" "teleport_events" {
   }
 
   global_secondary_index {
-    name            = "timesearch"
-    hash_key        = "EventNamespace"
+    name            = "timesearchV2"
+    hash_key        = "CreatedAtDate"
     range_key       = "CreatedAt"
     write_capacity  = 10
     read_capacity   = 10
@@ -86,7 +86,7 @@ resource "aws_dynamodb_table" "teleport_events" {
   }
 
   attribute {
-    name = "EventNamespace"
+    name = "CreatedAtDate"
     type = "S"
   }