Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
josecorella committed Nov 4, 2024
1 parent b9a6692 commit 6c80f5e
Showing 1 changed file with 123 additions and 123 deletions.
246 changes: 123 additions & 123 deletions cfn/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,131 +64,131 @@ Resources:
WriteCapacityUnits: "5"
TableName: !Ref TableName

BasicTestJavaTable:
Type: AWS::DynamoDB::Table
Properties:
AttributeDefinitions:
- AttributeName: "partition_key"
AttributeType: "S"
- AttributeName: "sort_key"
AttributeType: "N"
KeySchema:
- AttributeName: "partition_key"
KeyType: "HASH"
- AttributeName: "sort_key"
KeyType: "RANGE"
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
TableName: !Ref BasicTestJavaTableName
#BasicTestJavaTable:
# Type: AWS::DynamoDB::Table
# Properties:
# AttributeDefinitions:
# - AttributeName: "partition_key"
# AttributeType: "S"
# - AttributeName: "sort_key"
# AttributeType: "N"
# KeySchema:
# - AttributeName: "partition_key"
# KeyType: "HASH"
# - AttributeName: "sort_key"
# KeyType: "RANGE"
# ProvisionedThroughput:
# ReadCapacityUnits: "5"
# WriteCapacityUnits: "5"
# TableName: !Ref BasicTestJavaTableName

BasicTestDotnetTable:
Type: AWS::DynamoDB::Table
Properties:
AttributeDefinitions:
- AttributeName: "partition_key"
AttributeType: "S"
- AttributeName: "sort_key"
AttributeType: "N"
KeySchema:
- AttributeName: "partition_key"
KeyType: "HASH"
- AttributeName: "sort_key"
KeyType: "RANGE"
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
TableName: !Ref BasicTestDotNetTableName
#BasicTestDotnetTable:
# Type: AWS::DynamoDB::Table
# Properties:
# AttributeDefinitions:
# - AttributeName: "partition_key"
# AttributeType: "S"
# - AttributeName: "sort_key"
# AttributeType: "N"
# KeySchema:
# - AttributeName: "partition_key"
# KeyType: "HASH"
# - AttributeName: "sort_key"
# KeyType: "RANGE"
# ProvisionedThroughput:
# ReadCapacityUnits: "5"
# WriteCapacityUnits: "5"
# TableName: !Ref BasicTestDotnetTableName

SearchTestJavaTable:
Type: AWS::DynamoDB::Table
Properties:
AttributeDefinitions:
- AttributeName: "aws_dbe_b_inspector_id_last4"
AttributeType: "S"
- AttributeName: "aws_dbe_b_last4UnitCompound"
AttributeType: "S"
- AttributeName: "aws_dbe_b_unit"
AttributeType: "S"
- AttributeName: "inspection_date"
AttributeType: "S"
- AttributeName: "work_id"
AttributeType: "S"
KeySchema:
- AttributeName: "work_id"
KeyType: "HASH"
- AttributeName: "inspection_date"
KeyType: "RANGE"
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
TableName: !Ref SearchTestJavaTableName
GlobalSecondaryIndexes:
- IndexName: "last4-unit-index"
KeySchema:
- AttributeName: "aws_dbe_b_inspector_id_last4"
KeyType: "HASH"
- AttributeName: "aws_dbe_b_unit"
KeyType: "RANGE"
Projection:
ProjectionType: ALL
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
- IndexName: "last4UnitCompound-index"
KeySchema:
- AttributeName: "aws_dbe_b_last4UnitCompound"
KeyType: "HASH"
Projection:
ProjectionType: ALL
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
#SearchTestJavaTable:
# Type: AWS::DynamoDB::Table
# Properties:
# AttributeDefinitions:
# - AttributeName: "aws_dbe_b_inspector_id_last4"
# AttributeType: "S"
# - AttributeName: "aws_dbe_b_last4UnitCompound"
# AttributeType: "S"
# - AttributeName: "aws_dbe_b_unit"
# AttributeType: "S"
# - AttributeName: "inspection_date"
# AttributeType: "S"
# - AttributeName: "work_id"
# AttributeType: "S"
# KeySchema:
# - AttributeName: "work_id"
# KeyType: "HASH"
# - AttributeName: "inspection_date"
# KeyType: "RANGE"
# ProvisionedThroughput:
# ReadCapacityUnits: "5"
# WriteCapacityUnits: "5"
# TableName: !Ref SearchTestJavaTableName
# GlobalSecondaryIndexes:
# - IndexName: "last4-unit-index"
# KeySchema:
# - AttributeName: "aws_dbe_b_inspector_id_last4"
# KeyType: "HASH"
# - AttributeName: "aws_dbe_b_unit"
# KeyType: "RANGE"
# Projection:
# ProjectionType: ALL
# ProvisionedThroughput:
# ReadCapacityUnits: "5"
# WriteCapacityUnits: "5"
# - IndexName: "last4UnitCompound-index"
# KeySchema:
# - AttributeName: "aws_dbe_b_last4UnitCompound"
# KeyType: "HASH"
# Projection:
# ProjectionType: ALL
# ProvisionedThroughput:
# ReadCapacityUnits: "5"
# WriteCapacityUnits: "5"

SearchTestDotnetTable:
Type: AWS::DynamoDB::Table
Properties:
AttributeDefinitions:
- AttributeName: "aws_dbe_b_inspector_id_last4"
AttributeType: "S"
- AttributeName: "aws_dbe_b_last4UnitCompound"
AttributeType: "S"
- AttributeName: "aws_dbe_b_unit"
AttributeType: "S"
- AttributeName: "inspection_date"
AttributeType: "S"
- AttributeName: "work_id"
AttributeType: "S"
KeySchema:
- AttributeName: "work_id"
KeyType: "HASH"
- AttributeName: "inspection_date"
KeyType: "RANGE"
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
TableName: !Ref SearchTestDotnetTableName
GlobalSecondaryIndexes:
- IndexName: "last4-unit-index"
KeySchema:
- AttributeName: "aws_dbe_b_inspector_id_last4"
KeyType: "HASH"
- AttributeName: "aws_dbe_b_unit"
KeyType: "RANGE"
Projection:
ProjectionType: ALL
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
- IndexName: "last4UnitCompound-index"
KeySchema:
- AttributeName: "aws_dbe_b_last4UnitCompound"
KeyType: "HASH"
Projection:
ProjectionType: ALL
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
#SearchTestDotnetTable:
# Type: AWS::DynamoDB::Table
# Properties:
# AttributeDefinitions:
# - AttributeName: "aws_dbe_b_inspector_id_last4"
# AttributeType: "S"
# - AttributeName: "aws_dbe_b_last4UnitCompound"
# AttributeType: "S"
# - AttributeName: "aws_dbe_b_unit"
# AttributeType: "S"
# - AttributeName: "inspection_date"
# AttributeType: "S"
# - AttributeName: "work_id"
# AttributeType: "S"
# KeySchema:
# - AttributeName: "work_id"
# KeyType: "HASH"
# - AttributeName: "inspection_date"
# KeyType: "RANGE"
# ProvisionedThroughput:
# ReadCapacityUnits: "5"
# WriteCapacityUnits: "5"
# TableName: !Ref SearchTestDotnetTableName
# GlobalSecondaryIndexes:
# - IndexName: "last4-unit-index"
# KeySchema:
# - AttributeName: "aws_dbe_b_inspector_id_last4"
# KeyType: "HASH"
# - AttributeName: "aws_dbe_b_unit"
# KeyType: "RANGE"
# Projection:
# ProjectionType: ALL
# ProvisionedThroughput:
# ReadCapacityUnits: "5"
# WriteCapacityUnits: "5"
# - IndexName: "last4UnitCompound-index"
# KeySchema:
# - AttributeName: "aws_dbe_b_last4UnitCompound"
# KeyType: "HASH"
# Projection:
# ProjectionType: ALL
# ProvisionedThroughput:
# ReadCapacityUnits: "5"
# WriteCapacityUnits: "5"

TestTableWithSimpleBeaconIndex:
Type: AWS::DynamoDB::Table
Expand Down Expand Up @@ -384,7 +384,7 @@ Resources:
- !Sub "arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${KeystoreTableName}"
- !Sub "arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${KeystoreTableName}/index/*"
- !Sub "arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${BasicTestJavaTableName}"
- !Sub "arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${BasicTestDotNetTableName}"
- !Sub "arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${BasicTestDotnetTableName}"
- !Sub "arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${SearchTestJavaTableName}"
- !Sub "arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${SearchTestJavaTableName}/index/*"
- !Sub "arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${SearchTestDotnetTableName}"
Expand Down

0 comments on commit 6c80f5e

Please sign in to comment.