1

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.

pritampanhale
  • 106
  • 10

1 Answers1

3

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.

NoSQLKnowHow
  • 4,449
  • 23
  • 35