Amplify-cli: Use existing resources

Created on 11 Apr 2019  路  3Comments  路  Source: aws-amplify/amplify-cli

Hi there,

I want to setup a cognito user pool and api gateway using AWS Web app and I will have two moile apps ios & android that use these same resources.

Im using amplify CLI for ios and android apps, but I dont know how to point to same CognitoUserPool and ApiGateway in both application, because if I make amplify add auth it creates two different CognitoUserPools for each project.

Is there any solution about that ?

pending-response platform question

Most helpful comment

Link above is dead. Found the info here:
https://aws-amplify.github.io/docs/cli-toolchain/quickstart#multiple-frontends

All 3 comments

@adriatikgk You could follow the steps outlined here - https://aws-amplify.github.io/docs/cli/init#amplify-configure-project

Also you could take a look at thsi thread for more ideas around this - https://github.com/aws-amplify/amplify-cli/issues/582

Thanks @kaustavghosh06

Link above is dead. Found the info here:
https://aws-amplify.github.io/docs/cli-toolchain/quickstart#multiple-frontends

Was this page helpful?
0 / 5 - 0 ratings

Related issues

onlybakam picture onlybakam  路  3Comments

ReidWeb picture ReidWeb  路  3Comments

MageMasher picture MageMasher  路  3Comments

gabriel-wilkes picture gabriel-wilkes  路  3Comments

davo301 picture davo301  路  3Comments