Migrate project to another AWS account
Amplify CLI can be used to easily re-create resources in a different AWS account.
Run the following steps to migrate an existing project to another AWS account.
- Clone your repository
- Run
amplify init
- Select an AWS Profile that will connect to the new account (Do not use an existing environment)
Amplify CLI updates the amplify/team-provider-info.json
file with the new environment name. Run amplify env list
to see an additional environment that is connected to the account of the new profile.