Open jaekunchoi opened 2 weeks ago
should remove created_at
from key
export interface ContentKey {
task_id: string;
- created_at: string;
}
you also need to remove KeySchema from
- AttributeName: created_at
AttributeType: S
KeySchema:
- AttributeName: task_id
KeyType: HASH
- - AttributeName: created_at
- KeyType: RANGE
BillingMode: PAY_PER_REQUEST
please checkout this project out as reference.
Is there a reason why this isn't working? I tried many variations in schema with no luck. Any help would be great
Current behavior
Getting below exception when updating item in DynamoDB table that contains Hash and Range Key.
Expected behavior
Should update the existing data
Minimal reproduction of the problem with instructions
Schema
Interface
Service
I am also creating table separately with Serverless
What is the motivation / use case for changing the behavior?
Environment