-
Notifications
You must be signed in to change notification settings - Fork 825
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
Amplify init fails to resolve credential from profile using source_profile and credential_process #6882
Comments
@lorengordon We don't support AWS orgs yet and marking this as a feature request. |
@kaustavghosh06 That's a bit of an odd response. |
@lorengordon Sorry for te miscommunication earlier, but what's this statement out here do |
The command itself is largely immaterial. It can be anything that returns the I'm away from a computer at the moment, but when I'm back I can contrive an example for you that uses |
@kaustavghosh06 Here is a contrived example you can use to test with a permanent access/secret key, just insert actual values for the
|
I downgraded to version 4.46.0 and was able to use profiles with credential_process. |
@DarkSector That's interesting, since I was using 4.45.2 and it wasn't working... So it was maybe fixed in 4.46.0, and then broken again in a yet newer version, so it worked when you downgraded back to 4.46.0? |
I'm still getting error using Amplify CLI 6.3.1. I've set |
Ok I think I figured out the issue. When you run
|
A |
@tjmcewan Not sure about that. I do have a credentials file also. |
Wasn't a question, but an anguished cry after two hours lost to debugging.
Hoping to avoid anyone joining me.
On Mon, 25 Oct 2021 at 03:00, Loren Gordon ***@***.***> wrote:
@tjmcewan <https://github.com/tjmcewan> Not sure about that. I do have a
credentials file also.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6882 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA2GLDPBTRJWI2WDVIIGM3UIQUQFANCNFSM4ZHJGS5A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
*I acknowledge that I live and work on the land of the Wurundjeri people of
the Kulin Nation. Sovereignty has never been ceded. It always was and
always will be, Aboriginal land.*
|
Hey @lorengordon and folks 👋 I've confirmed the In our
And for
and for our
I'll close this issue for now but please reply back to this thread or create a new bug report if you are still experiencing this issue 🙂 |
@josefaidt I'm not sure that setup replicates the problem, but I am also not using amplify at the moment on any active project, so I'm unable to confirm if this is actually fixed. The problem with your setup is that you specified the |
Also ran across this issue, and the problem was the file under |
Before opening, please confirm:
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v12.21.0
Amplify CLI Version
4.45.2
What operating system are you using?
Ubuntu
Amplify Categories
Not applicable
Amplify Commands
init
Describe the bug
A profile with a source_profile that itself uses credential_process fails with the message:
Expected behavior
Amplify should be able to authenticate with any method supported by the awscli, including assuming a role.
Reproduction steps
amplify init
Log output
The text was updated successfully, but these errors were encountered: