dynamodb : not creating correct GSI #26561
Labels
@aws-cdk/aws-dynamodb
Related to Amazon DynamoDB
bug
This issue is a bug.
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
Hello, hope you are doing fine :)
I am trying to create a dynamodb table with a GSI. This is the code:
Expected Behavior
Shouldn't the code above create a GSI with items that have a partition key 'SK' and a sort key 'GSI1SK'?
Current Behavior
When I deploy the above code, the GSI simply copies over the PK as primary key and SK as sort key (only for the items that conatain the GSI1SK, at least this part goes according to plan lol)
Reproduction Steps
Try to launch the above code and check the GSI creation schema
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.88
Framework Version
No response
Node.js Version
v18.16
OS
Linux - Ubuntu
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: