Yves Gonzaga
Yves Gonzaga

Reputation: 1048

How to import existing AWS Amplify Back-End into an empty AWS Amplify project locally?

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

  1. amplify init --appId ("ID OF YOUR NEW AMPLIFY APP").

  2. 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

Answers (1)

Tomasz Czechowski
Tomasz Czechowski

Reputation: 641

you can use the following command:

 amplify pull --appId someidgoeshere --envName dev

Upvotes: 8

Related Questions