Reputation: 1048
I accidentally deleted my amplify frontend and created a new one. How do I import the existing amplify back end to the newly created amplify app project folder?
I followed the steps on the backend tab
amplify init --appId ("ID OF YOUR NEW AMPLIFY APP")
.
Instead of amplify add CATEGORY
here. I use amplify update CATEGORY
here
Then amplify push
.
But when I check the amplify app on the AWS console there still no backend integrated to it.
Am I doing correct?
Version used:
"aws-amplify": "^2.1.0"
Upvotes: 4
Views: 5640
Reputation: 641
you can use the following command:
amplify pull --appId someidgoeshere --envName dev
Upvotes: 8