victorious-megabyte-32350
07/06/2021, 9:02 PMpoint in time recovery
with dynamoDB.
I created a script to recreate a table using the aws-cli, but pulumi doesn't know the creation of the table. If I added into the code the new table, it will try to create the table and the only thing I need to do is to enable the point in time recovery
.
Can anybody help me with this?brave-planet-10645
07/06/2021, 9:47 PMvictorious-megabyte-32350
07/06/2021, 10:39 PMaws dynamodb restore-table-to-point-in-time \
--source-table-name Music \
--target-table-name MusicEarliestRestorableDateTime \
--no-use-latest-restorable-time \
--restore-date-time 1519257118.0
point in time recovery
)
The table MusicTableMinutesAgo
(for example) has two properties in the creation (Partition Key pk
and a Sort Key sk
).
I'm doing a pulumi import aws:dynamodb/table:Table basic-table MusicTableMinutesAgo
and I'm getting this:
all attributes must be indexed. Unused attributes ["sk"]
Is there a status regarding this situation? I saw an issue on github with the same problem
https://github.com/pulumi/pulumi/issues/6690