Skip to content

Commit f55e125

Browse files
Merge pull request #128 from keillera/fix_typo_temp
Fix typo for datebase-template
2 parents 7f8a7ad + ac121f4 commit f55e125

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

database-template.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -413,11 +413,11 @@ Resources:
413413
Projection:
414414
ProjectionType: ALL
415415
ProvisionedThroughput:
416-
ReadCapacityUnits: 1
417-
WriteCapacityUnits: 1
416+
ReadCapacityUnits: !Ref MinDynamoReadCapacitty
417+
WriteCapacityUnits: !Ref MinDynamoWriteCapacitty
418418
ProvisionedThroughput:
419-
ReadCapacityUnits: 1
420-
WriteCapacityUnits: 1
419+
ReadCapacityUnits: !Ref MinDynamoReadCapacitty
420+
WriteCapacityUnits: !Ref MinDynamoWriteCapacitty
421421
CommentLikedUser:
422422
Type: AWS::DynamoDB::Table
423423
Properties:
@@ -432,8 +432,8 @@ Resources:
432432
- AttributeName: user_id
433433
KeyType: RANGE
434434
ProvisionedThroughput:
435-
ReadCapacityUnits: 1
436-
WriteCapacityUnits: 1
435+
ReadCapacityUnits: !Ref MinDynamoReadCapacitty
436+
WriteCapacityUnits: !Ref MinDynamoWriteCapacitty
437437
DeletedComment:
438438
Type: AWS::DynamoDB::Table
439439
Properties:
@@ -444,8 +444,8 @@ Resources:
444444
- AttributeName: comment_id
445445
KeyType: HASH
446446
ProvisionedThroughput:
447-
ReadCapacityUnits: 1
448-
WriteCapacityUnits: 1
447+
ReadCapacityUnits: !Ref MinDynamoReadCapacitty
448+
WriteCapacityUnits: !Ref MinDynamoWriteCapacitty
449449
ScalingRole:
450450
Type: 'AWS::IAM::Role'
451451
Properties:
@@ -1535,7 +1535,7 @@ Resources:
15351535
ResourceId: !Join
15361536
- /
15371537
- - table
1538-
- !Ref Comment
1538+
- !Ref CommentLikedUser
15391539
RoleARN: !GetAtt ScalingRole.Arn
15401540
ScalableDimension: dynamodb:table:ReadCapacityUnits
15411541
ServiceNamespace: dynamodb
@@ -1548,7 +1548,7 @@ Resources:
15481548
ResourceId: !Join
15491549
- /
15501550
- - table
1551-
- !Ref Comment
1551+
- !Ref CommentLikedUser
15521552
RoleARN: !GetAtt ScalingRole.Arn
15531553
ScalableDimension: dynamodb:table:WriteCapacityUnits
15541554
ServiceNamespace: dynamodb
@@ -1585,7 +1585,7 @@ Resources:
15851585
ResourceId: !Join
15861586
- /
15871587
- - table
1588-
- !Ref Comment
1588+
- !Ref DeletedComment
15891589
RoleARN: !GetAtt ScalingRole.Arn
15901590
ScalableDimension: dynamodb:table:ReadCapacityUnits
15911591
ServiceNamespace: dynamodb
@@ -1598,7 +1598,7 @@ Resources:
15981598
ResourceId: !Join
15991599
- /
16001600
- - table
1601-
- !Ref Comment
1601+
- !Ref DeletedComment
16021602
RoleARN: !GetAtt ScalingRole.Arn
16031603
ScalableDimension: dynamodb:table:WriteCapacityUnits
16041604
ServiceNamespace: dynamodb

0 commit comments

Comments
 (0)