Change projected attributes to existing GSI without delete and recreate in DynamoDB?

0

Is it possible to change projected attributes in an existing GSI in-place without delete and recreate?

AWS
asked a year ago927 views
2 Answers
2
Accepted Answer

Unfortunately not, to change projected attributes you must create a new index, this remains true even if you would only like to add an extra attribute to INCLUDE projection.

profile pictureAWS
EXPERT
answered a year ago
-1

GSIs are read-only. You have to change the item in the base table and have it propagate into the GSI.

AWS
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions