Feature Request: DynamoDB GSI multi-attribute key support #19
theomantz-luna
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an existing issue for this?
Description
LocalStack does not currently support multi-attribute keys for DynamoDB Global Secondary Indexes. Deploying a table that defines a GSI with a multi-attribute key fails.
Environment
Expected behavior
Creating a DynamoDB table with a GSI that uses a multi-attribute key should succeed, matching the behavior of AWS DynamoDB.
Actual behavior
The deploy fails when attempting to create the table.
Reproduction steps
Additional context
Multi-attribute keys for GSIs were introduced by AWS to allow multiple table attributes to be combined into a single index key attribute. This is useful for creating flexible access patterns without concatenating attributes at the application layer. See the AWS documentation for details.
Beta Was this translation helpful? Give feedback.
All reactions