question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

amplify configure does not list eu-north-1 region as an option

See original GitHub issue

Note: If your issue/bug is regarding the AWS Amplify Console service, please log it in the Amplify Console GitHub Issue Tracker

Describe the bug amplify configure command does not list eu-north-1 as an region to select even though Amplify is available in that region.

Amplify CLI Version 4.29.4

To Reproduce Run amplify configure and see the list of available regions.

Expected behavior I would expect the list to contain all regions where Amplify is available.

Desktop (please complete the following information):

  • OS: Mac
  • Node v14.13.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:9
  • Comments:5

github_iconTop GitHub Comments

1reaction
ecerulmcommented, Feb 17, 2021

@agordeev , What do you mean? aws configure --profile amplify-xxxxx will ask you to input the region (no list, you need to type the region name fully). aws configure replaces amplify configure you don’t need to call amplify configure after.

1reaction
ecerulmcommented, Feb 16, 2021

As far as I understand the amplify configure is just guides you into:

  • Login to AWS Management Console
  • Create a IAM user, for programmatic access with AdministratorAccess,
  • Create a [local named profile] for aws cli

So the net result of amplify configure is just a new aws-cli’s named profile, you can create the named profile yourself and skip the amplify configure entirely.

I believe the workaround is to do this steps manually

  • Create an IAM user called amplify-xxxxx with attached policy AdministratorAccess
  • Note the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
  • Use aws configure --profile amplify-xxxxx to create a named profile (input the region, access key id, and secret access key)

Then rest of the tooling like amplify init will then rely on the named profile that you created. amplify init will ask you which named profile to use and you should just select amplify-xxxx.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reference - Feature Flags - AWS Amplify Docs
Configuration of feature flags are primarily done by having an cli.json file in the project's amplify folder. If the file does not exist...
Read more >
AWS Amplify endpoints and quotas
The following are the service endpoints and service quotas for this service. To connect programmatically to an AWS service, you use an endpoint....
Read more >
aws console set default region
Trying to configure AWS CLI with command aws configure. This will collect all the non-stopped EC2 instances in one group, that you can...
Read more >
Global Locations - Regions & Zones
Cloud locations. Google Cloud has added a new region: Tel Aviv (Israel). Our private, software-defined network provides fast and reliable connections to ...
Read more >
aws_s3_bucket | Resources | hashicorp/aws
acceleration_status - (Optional, Deprecated) Sets the accelerate configuration of an existing bucket. Can be Enabled or Suspended . Cannot be used in cn-north-1...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found