Reputation: 43
I want to set tags for Dynamo DB, did we have a serverless.yml configuration for it like we have it for function
functions:
createUsers:
tags:
key: value
Upvotes: 2
Views: 1444
Reputation: 336
resources:
Resources:
DynamoDbTable:
Type: 'AWS::DynamoDB::Table'
DeletionPolicy: Retain
Properties:
TableName: 'table'
AttributeDefinitions:
-
AttributeName: id
AttributeType: S
KeySchema:
-
AttributeName: id
KeyType: HASH
ProvisionedThroughput:
ReadCapacityUnits: 1
WriteCapacityUnits: 1
Tags:
-
Key: 'tagKey'
Value: 'tagValue'
Upvotes: 5