Skip to content

Commit a35d106

Browse files
authored
Membership List table V3 (#216)
1 parent 99e53ac commit a35d106

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

cloudformation/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -415,13 +415,13 @@ Resources:
415415
- AttributeName: netid_list
416416
KeyType: HASH
417417

418-
ExternalMembershipV2RecordsTable:
418+
ExternalMembershipV3RecordsTable:
419419
Type: "AWS::DynamoDB::Table"
420420
DeletionPolicy: "Retain"
421421
UpdateReplacePolicy: "Retain"
422422
Properties:
423423
BillingMode: "PAY_PER_REQUEST"
424-
TableName: infra-core-api-membership-external-v2
424+
TableName: infra-core-api-membership-external-v3
425425
DeletionProtectionEnabled: true
426426
PointInTimeRecoverySpecification:
427427
PointInTimeRecoveryEnabled: !If [IsProd, true, false]
@@ -431,19 +431,19 @@ Resources:
431431
- AttributeName: "memberList"
432432
AttributeType: "S"
433433
KeySchema:
434-
- AttributeName: "netId"
435-
KeyType: "HASH"
436434
- AttributeName: "memberList"
435+
KeyType: "HASH"
436+
- AttributeName: "netId"
437437
KeyType: "RANGE"
438438
GlobalSecondaryIndexes:
439439
- IndexName: "invertedIndex"
440440
KeySchema:
441-
- AttributeName: "memberList"
442-
KeyType: "HASH"
443441
- AttributeName: "netId"
442+
KeyType: "HASH"
443+
- AttributeName: "memberList"
444444
KeyType: "RANGE"
445445
Projection:
446-
ProjectionType: "ALL"
446+
ProjectionType: "KEYS_ONLY"
447447

448448

449449
RoomRequestsTable:

0 commit comments

Comments
 (0)