From d78972fda4f1ef25258e7f1184feec4913ff7849 Mon Sep 17 00:00:00 2001 From: Samuel Vange <7166607+svange@users.noreply.github.com> Date: Sat, 13 Jul 2024 08:42:40 -0700 Subject: [PATCH] feat: adding ClientTable GSI --- resources.yaml | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/resources.yaml b/resources.yaml index b9e366a..d9d42b3 100644 --- a/resources.yaml +++ b/resources.yaml @@ -173,7 +173,7 @@ Resources: ReadCapacityUnits: 5 WriteCapacityUnits: 5 TableName: !Sub - - 'ObClientTable-${ResourceSuffix}' + - 'ObClientTable${ResourceSuffix}' - ResourceSuffix: !Ref ResourceSuffix GlobalSecondaryIndexes: - IndexName: LocationIndex @@ -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: