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.

No way to pick existing IAM user on amplify configure

See original GitHub issue

Page: /cli/start/install

Feedback:

Does AWS Amplify require its own dedicated IAM user? Instructions force you to create one; what if you already have an IAM user with the necessary permissions? Is it possible to use it with Amplify?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
tomtaila-wesayhicommented, Apr 19, 2021

Yeah but using amplify init seems to force you to create a new backend app in amplify. In my case, I have a existing IAM user AND and existing backend setup. amplify configure forces me to create a new user, whereas init forces me to create a new backend, both not good.

2reactions
panchohinojosacommented, Apr 29, 2021

Yeah but using amplify init seems to force you to create a new backend app in amplify. In my case, I have a existing IAM user AND and existing backend setup. amplify configure forces me to create a new user, whereas init forces me to create a new backend, both not good.

tldr; just ignore the console that opens up and continue.

I found another Issue on the same topic… https://github.com/aws-amplify/amplify-cli/issues/4744 in which they clarify that amplify configure seems to have 2 main functionalities, create a user and configure. So as a workaround, you could add your existing user name when prompted for the new one. Then as you know the aws console webpage opens up for you to finish the aws creation of the IAM new user, but you can ignore it completely ( you can just close it ). Next in the cli, press enter to continue. This goes on to the next step thinking you finished the configuration on the webpage. Now you can continue adding your existing keys and secret.

A fix for this would be that the cli asked you in a previous step/prompt if you have a user or you need to create one. It could then continue with the same process that it does now with the slight difference that after typing the user name: if you are creating a new user it opens up the aws console webpage and if your not, then it continues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Identity and Access Management for Amplify
An IAM role is an identity within your AWS account that has specific permissions. It is similar to an IAM user, but is...
Read more >
Authentication - Create or re-use existing backend - JavaScript
Learn more about how to create an auth resource or re-use an existing auth backend for Amplify. - JavaScript - AWS Amplify Docs....
Read more >
AWS Amplify configure command for different accounts
You should configure Named Profiles for use with the AWS CLI, one for each account. See here for more information. Once you do...
Read more >
Setting up AWS accounts for AWS Amplify | Flutter Community
Creating an AWS Account (Current post); Setting up Amplify CLI on your ... If you do not have the Flutter setup, follow the...
Read more >
Getting Started with AWS Amplify - Coder Society
In this article, you'll learn how Amplify works and how to build and ... For the storage, select Auth and guest users to...
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