@adikari/config-manager
Version:
Tool to deploy configs to different stores
40 lines (37 loc) • 922 B
YAML
AWSTemplateFormatVersion: '2010-09-09'
Description: "Dynamodb Parameter Store "
Parameters:
TableName:
Type: String
Description: The parameter store table name
Resources:
ParameterStore:
Type: AWS::DynamoDB::Table
DeletionPolicy: Retain
Properties:
TableName:
Ref: TableName
BillingMode: PAY_PER_REQUEST
SSESpecification:
SSEEnabled: true
PointInTimeRecoverySpecification:
PointInTimeRecoveryEnabled: true
AttributeDefinitions:
-
AttributeName: "name"
AttributeType: "S"
-
AttributeName: "version"
AttributeType: "S"
KeySchema:
-
AttributeName: "name"
KeyType: "HASH"
-
AttributeName: "version"
KeyType: "RANGE"
Outputs:
TableName:
Value:
Ref: ParameterStore
Description: "Table name of the parameter store"