Amplify-cli: StreamArn was not found for resource: [DatabaseARN]

Created on 9 Jul 2019  路  1Comment  路  Source: aws-amplify/amplify-cli

I've got an issue with my latest project. I accidentally deleted an environment, so I've remade the environment, and then systematically deleted and restored the DynamoDB Tables from backups, so that all of the data is in the new environment. Everything was working fine, yet since deleteing the old tables, and recreating the tables from backups, yet using the identical Table Name... the StreamArn is not found for each resource...

i.e.

Category-kxs65t6t6ndxrf3mna34iollhm-master and it's entire CloudFormation accidentally deleted with an amplify-cli command.

Recreated a new CloudFormation that works, for master.
Deleted Category-[newID]-master.
Restored Category-kxs65t6t6ndxrf3mna34iollhm-master backup to Category-[newID]-master.

The app itself works 100% fine, accesses the old data, and displays it to my users on the web app... but amplify-cli won't interact with the new databases, even though they have the same Arn as the old databases.

Most helpful comment

Sorry, I think I have just solved this myself. If anyone else comes across this and needs a solution, under each Table Overview, Stream Details, Manage Stream, enable both New and Old Images. This will fix it all up.

>All comments

Sorry, I think I have just solved this myself. If anyone else comes across this and needs a solution, under each Table Overview, Stream Details, Manage Stream, enable both New and Old Images. This will fix it all up.

Was this page helpful?
0 / 5 - 0 ratings