Understanding condition for maximum number of GSI in dynamo table v2 #30004
Unanswered
prasanthlouis
asked this question in
Q&A
Replies: 1 comment
-
Hello! Reopening this discussion to make it searchable. |
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
-
https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-dynamodb/lib/table-v2.ts#L834-L836
It's not apparently obvious to me how this works? It looks like it's checking whether it's equal to 20, but the log message says "Can't have more than 20"
I was going to make a PR, but I looked at the tests and they seem to be passing when providing more than 20 GSIs
Beta Was this translation helpful? Give feedback.
All reactions