Home > other >  Can we update the Projection of existing Global Secondary index of a DynamoDB table?
Can we update the Projection of existing Global Secondary index of a DynamoDB table?

Time:12-22

Can we update the Projection of existing Global Secondary index of a DynamoDB table ?

I want to update the projection to ALL so save the redundant call to partition key.

CodePudding user response:

No there is not a way to update the projection.

If it was me, I'd create a new GSI with the new projection, switch the code to use the new one, then delete the old GSI.

  • Related