Skip to content

Commit dc1253a

Browse files
committed
recreate status table
1 parent a3228ae commit dc1253a

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

cloudformation/main.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -337,37 +337,37 @@ Resources:
337337
Projection:
338338
ProjectionType: ALL
339339

340-
# RoomRequestUpdatesTable:
341-
# Type: "AWS::DynamoDB::Table"
342-
# DeletionPolicy: "Retain"
343-
# UpdateReplacePolicy: "Retain"
344-
# Properties:
345-
# BillingMode: "PAY_PER_REQUEST"
346-
# TableName: infra-core-api-room-requests-status
347-
# DeletionProtectionEnabled: true
348-
# PointInTimeRecoverySpecification:
349-
# PointInTimeRecoveryEnabled: !If [IsProd, true, false]
350-
# AttributeDefinitions:
351-
# - AttributeName: requestId
352-
# AttributeType: S
353-
# - AttributeName: semesterId
354-
# AttributeType: S
355-
# - AttributeName: createdAt#status
356-
# AttributeType: S
357-
# KeySchema:
358-
# - AttributeName: requestId
359-
# KeyType: HASH
360-
# - AttributeName: createdAt#status
361-
# KeyType: RANGE
362-
# GlobalSecondaryIndexes:
363-
# - IndexName: SemesterId
364-
# KeySchema:
365-
# - AttributeName: semesterId
366-
# KeyType: HASH
367-
# - AttributeName: requestId
368-
# KeyType: RANGE
369-
# Projection:
370-
# ProjectionType: ALL
340+
RoomRequestUpdatesTable:
341+
Type: "AWS::DynamoDB::Table"
342+
DeletionPolicy: "Retain"
343+
UpdateReplacePolicy: "Retain"
344+
Properties:
345+
BillingMode: "PAY_PER_REQUEST"
346+
TableName: infra-core-api-room-requests-status
347+
DeletionProtectionEnabled: true
348+
PointInTimeRecoverySpecification:
349+
PointInTimeRecoveryEnabled: !If [IsProd, true, false]
350+
AttributeDefinitions:
351+
- AttributeName: requestId
352+
AttributeType: S
353+
- AttributeName: semesterId
354+
AttributeType: S
355+
- AttributeName: createdAt#status
356+
AttributeType: S
357+
KeySchema:
358+
- AttributeName: requestId
359+
KeyType: HASH
360+
- AttributeName: createdAt#status
361+
KeyType: RANGE
362+
GlobalSecondaryIndexes:
363+
- IndexName: SemesterId
364+
KeySchema:
365+
- AttributeName: semesterId
366+
KeyType: HASH
367+
- AttributeName: requestId
368+
KeyType: RANGE
369+
Projection:
370+
ProjectionType: ALL
371371

372372

373373

0 commit comments

Comments
 (0)