According to the AWS doc, we can have at most 20 non-key attributes in local secondary index (LSI) in DynamoDB, but how about global secondary index?
The issue we encountered is we want to include more than 20 non-key attributes in GSI, but we could not find a way or a doc to explain this. The only option we have is to use ALL to include all non-key attributes which leads to huge storage cost.
Thanks