Amplify-cli: CLI says it's not avaiable in a region, but I can use it via console

Created on 8 Sep 2020  路  3Comments  路  Source: aws-amplify/amplify-cli

Describe the bug
If I amplify init a project with a sa-east-1 profile, it will work. I'll be able to add apis, authentication and etc. However, when I try to amplify add hosting it will yield a "Missing required key 'appId' in params" error. Then if I try to amplify init --appId with an Amplify app id that I already created via console in the region, it will say "Amplify service is not available in the region sa-east-1
init failed".

That doesn't make any sense, considering that I just created an app via the console, and all the features are available using it (for example, I can create a fullstack amplify app clicking the quick start examples).

Amplify CLI Version
4.29.0

To Reproduce
Try to amplify init --appId with an app id in sa-east-1

Expected behavior
To work, since I can do all the amplify cli things via the console, I expected them to work via cli.

amplify-console enhancement platform

Most helpful comment

Hi @Eduardogbg

As the appId you created via console is in region sa-east-1 and amplify-cli doesn't support the region for amplify service ,thats why you are facing this issue.
I have mark this as enhancement and 馃憤 to get this prioritized.

All 3 comments

Hi @Eduardogbg

As the appId you created via console is in region sa-east-1 and amplify-cli doesn't support the region for amplify service ,thats why you are facing this issue.
I have mark this as enhancement and 馃憤 to get this prioritized.

Hi ALL! Any news about this issue? We really need to use S茫o Paulo through the CLI! Thank you!!

Hi! Any news about this issue?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jkeys-ecg-nmsu picture jkeys-ecg-nmsu  路  3Comments

rehos picture rehos  路  3Comments

onlybakam picture onlybakam  路  3Comments

jexh picture jexh  路  3Comments

nicksmithr picture nicksmithr  路  3Comments