Feature Request: DynamoDB GSI multi-attribute key support #19
Closed
theomantz-luna
started this conversation in
Feature Requests
Replies: 1 comment
-
|
Hi, Thanks for the report. I looked into this, and the good news is that multi-attribute GSI keys do work. Multi-attribute keys for GSIs were implemented inside DynamoDB Local, and AWS only added them in DynamoDB Local 3.3.0 (released 19 January 2026). LocalStack 4.4 ships an older 2.x build, which is why you got the "Key Schema too big" error. Newer LocalStack versions automatically pull a 3.3.0+ build, so the resolution is to upgrade. Let me know if it still fails after upgrading, and I will take another look. |
Beta Was this translation helpful? Give feedback.
0 replies
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