Use New DynamoDB Point-in-time Recovered Table Or Copy New Table Over Original Table?

0

We want to have a Lambda point at a small, yet important DynamoDB table that has Point-in-time recovery enabled. Running through the recovery process, we see it restores to a new table as opposed to restoring the original table in place.

With it restoring to a new table, is the idea that one would typically change the Lambda to point at the new table, or would one copy the new table over the original? Related: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/PointInTimeRecovery.html

profile picture
gefragt vor 2 Jahren288 Aufrufe
1 Antwort
2
Akzeptierte Antwort

It's not possible at this time to rename a table, so the best course of action will be to adjust the lambda to point at the new table, such as by retrieving the table name from a lambda environment variable or pulling it from a ParameterStore.

AWS
beantwortet vor 2 Jahren
profile picture
EXPERTE
überprüft vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen