Skip to content

Commit

Permalink
chore(chatbot): from global to local secondary index
Browse files Browse the repository at this point in the history
  • Loading branch information
batdevis committed Oct 10, 2024
1 parent 238edfd commit 5f63560
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/infrastructure/src/modules/chatbot/dynamodb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ module "dynamodb_chatbot_sessions" {
},
]

# GSI for query on created_at
global_secondary_indexes = [
# LSI for query on created_at
local_secondary_indexes = [
{
name = "SessionsByCreatedAtIndex"
hash_key = "userId"
Expand Down

0 comments on commit 5f63560

Please sign in to comment.