From eb354351df20f034ffd41e1adef2c354764af99a Mon Sep 17 00:00:00 2001 From: Jacob Winch Date: Tue, 5 Dec 2023 12:45:50 +0000 Subject: [PATCH] Remove DynamoDB template (moving to editorial-tools-platform) --- cloudformation/DynamoTables.yml | 61 --------------------------------- 1 file changed, 61 deletions(-) delete mode 100644 cloudformation/DynamoTables.yml diff --git a/cloudformation/DynamoTables.yml b/cloudformation/DynamoTables.yml deleted file mode 100644 index 1213c1b9..00000000 --- a/cloudformation/DynamoTables.yml +++ /dev/null @@ -1,61 +0,0 @@ -AWSTemplateFormatVersion: '2010-09-09' -Parameters: - Stage: - Type: String - Description: Stage for the tables - AllowedValues: - - DEV - - CODE - - PROD -Resources: - AtomWorkshopPreviewDynamoTable: - Type: AWS::DynamoDB::Table - Properties: - TableName: !Sub atom-workshop-preview-${Stage} - AttributeDefinitions: - - AttributeName: "id" - AttributeType: "S" - - AttributeName: "atomType" - AttributeType: "S" - KeySchema: - - AttributeName: "atomType" - KeyType: "HASH" - - AttributeName: "id" - KeyType: "RANGE" - BillingMode: "PAY_PER_REQUEST" - AtomWorkshopLiveDynamoTable: - Type: AWS::DynamoDB::Table - Properties: - TableName: !Sub atom-workshop-live-${Stage} - AttributeDefinitions: - - AttributeName: "id" - AttributeType: "S" - - AttributeName: "atomType" - AttributeType: "S" - KeySchema: - - AttributeName: "atomType" - KeyType: "HASH" - - AttributeName: "id" - KeyType: "RANGE" - BillingMode: "PAY_PER_REQUEST" -Outputs: - PreviewDynamoTableOut: - Description: Table name for Preview dynamo table - Value: !Ref AtomWorkshopPreviewDynamoTable - Export: - Name: !Sub ${AWS::StackName}-PreviewDynamoTableName - PreviewDynamoArnOut: - Description: ARN for Preview dynamo table - Value: !Sub arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${AtomWorkshopPreviewDynamoTable} - Export: - Name: !Sub ${AWS::StackName}-PreviewDynamoTableArn - LiveDynamoTableOut: - Description: Table name for Live dynamo table - Value: !Ref AtomWorkshopLiveDynamoTable - Export: - Name: !Sub ${AWS::StackName}-LiveDynamoTableName - LiveDynamoArnOut: - Description: ARN for Live dynamo table - Value: !Sub arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${AtomWorkshopLiveDynamoTable} - Export: - Name: !Sub ${AWS::StackName}-LiveDynamoTableArn