summaryrefslogtreecommitdiff
path: root/examples/cloudformation.yml
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook.git@proton.me>2023-02-28 13:27:19 -0600
committerJordan Cook <jordan.cook.git@proton.me>2023-03-01 15:22:07 -0600
commitdd56ee17d77523426daac086ae02554368e3d8f5 (patch)
treed1f1c6a24ddf2c541904500fc6d98bf37960d3a2 /examples/cloudformation.yml
parentddacec4f0e3c1a9f16ec4aad44803a0b14224e12 (diff)
parentdc74f212ebaffdb183eb54e55a5d51e1271c671b (diff)
downloadrequests-cache-dd56ee17d77523426daac086ae02554368e3d8f5.tar.gz
Merge pull request #795 from requests-cache/dynamodb
Change DynamoDB table to use cache key as partition key
Diffstat (limited to 'examples/cloudformation.yml')
-rw-r--r--examples/cloudformation.yml6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/cloudformation.yml b/examples/cloudformation.yml
index e88e0ab..fa83091 100644
--- a/examples/cloudformation.yml
+++ b/examples/cloudformation.yml
@@ -15,15 +15,11 @@ Resources:
Properties:
TableName: !Ref CacheTableName
AttributeDefinitions:
- - AttributeName: namespace
- AttributeType: S
- AttributeName: key
AttributeType: S
KeySchema:
- - AttributeName: namespace
- KeyType: HASH
- AttributeName: key
- KeyType: RANGE
+ KeyType: HASH
# BillingMode: PAY_PER_REQUEST
# Optional: Use provisioned throughput instead of on-demand