Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI says it's not avaiable in a region, but I can use it via console #5271

Closed
Eduardogbg opened this issue Sep 8, 2020 · 11 comments · Fixed by #8094
Closed

CLI says it's not avaiable in a region, but I can use it via console #5271

Eduardogbg opened this issue Sep 8, 2020 · 11 comments · Fixed by #8094
Assignees
Labels
region-support Request for currently unsupported region

Comments

@Eduardogbg
Copy link

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.

@nikhname nikhname added pending-triage Issue is pending triage amplify-console platform Issues tied to the general CLI platform labels Sep 9, 2020
@akshbhu
Copy link
Contributor

akshbhu commented Sep 9, 2020

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.

@akshbhu akshbhu added enhancement and removed pending-triage Issue is pending triage labels Sep 9, 2020
@vargascookbook
Copy link

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

@nicolas-carlini
Copy link

Hi! Any news about this issue?

@mgrazianoc
Copy link

Kind of disapointing to know about that on CLI.

@j1nma
Copy link

j1nma commented Jan 24, 2021

It has been 2021 already...

@vargascookbook
Copy link

.. and the radio still silent here in São Paulo!

@renebrandel renebrandel added region-support Request for currently unsupported region and removed amplify-console platform Issues tied to the general CLI platform labels Mar 30, 2021
@thiagoalves
Copy link

@akshbhu @renebrandel Any news? Is there any way to circumvent this meanwhile?

@thiagoalves
Copy link

I manually edited /usr/local/lib/node_modules/@aws-amplify/cli/node_modules/amplify-provider-awscloudformation/lib/aws-regions.js and voilà... it worked!

@stale
Copy link

stale bot commented Jul 8, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@ZehCoque
Copy link

Let's not let this thread be forgotten!! We need the sa-east-1 to be as native as possible with amplify!

@cjihrig cjihrig self-assigned this Sep 3, 2021
@cjihrig cjihrig linked a pull request Sep 3, 2021 that will close this issue
4 tasks
@github-actions
Copy link

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
region-support Request for currently unsupported region
Projects
None yet
Development

Successfully merging a pull request may close this issue.