Skip to content

Commit

Permalink
feat: adding ClientTable GSI
Browse files Browse the repository at this point in the history
  • Loading branch information
svange committed Jul 13, 2024
1 parent eac3c83 commit d78972f
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ Resources:
ReadCapacityUnits: 5
WriteCapacityUnits: 5
TableName: !Sub
- 'ObClientTable-${ResourceSuffix}'
- 'ObClientTable${ResourceSuffix}'
- ResourceSuffix: !Ref ResourceSuffix
GlobalSecondaryIndexes:
- IndexName: LocationIndex
Expand All @@ -187,6 +187,33 @@ Resources:
WriteCapacityUnits: 5


# ObClientTable:
# Type: AWS::DynamoDB::Table
# Properties:
# AttributeDefinitions:
# - AttributeName: email
# AttributeType: S
# - AttributeName: leadmo_location_id
# AttributeType: S
# KeySchema:
# - AttributeName: email
# KeyType: HASH
# ProvisionedThroughput:
# ReadCapacityUnits: 5
# WriteCapacityUnits: 5
# TableName: !Sub
# - 'ObClientTable-${ResourceSuffix}'
# - ResourceSuffix: !Ref ResourceSuffix
# GlobalSecondaryIndexes:
# - IndexName: LocationIndex
# KeySchema:
# - AttributeName: leadmo_location_id
# KeyType: HASH
# Projection:
# ProjectionType: ALL
# ProvisionedThroughput:
# ReadCapacityUnits: 5
# WriteCapacityUnits: 5
Outputs:

ObSessionTableName:
Expand Down

0 comments on commit d78972f

Please sign in to comment.