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

Issue when profile is MFA #7

Open
nekloth opened this issue Dec 19, 2018 · 0 comments
Open

Issue when profile is MFA #7

nekloth opened this issue Dec 19, 2018 · 0 comments

Comments

@nekloth
Copy link

nekloth commented Dec 19, 2018

Hello

My AWS config file is setup with 2 profiles, one of then is "assumeRole" and "MFA":

[default]
output = json
region = eu-west-1

[profile dev]
role_arn = arn:aws:iam::xxxxxxxxx:role/admin
source_profile = default
output = json
region = eu-west-1
mfa_serial = arn:aws:iam::xxxxxxxxxxx:mfa/[email protected]

[profile prod]
output = json
region = eu-west-1

When using the --profile dev, it crashes:

Error while getting AWS Credentials.
{ Error: connect ENETUNREACH 169.254.169.254:80
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
  code: 'ENETUNREACH',
  errno: 'ENETUNREACH',
  syscall: 'connect',
  address: '169.254.169.254',
  port: 80 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant