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/user@domain.com
[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 }
Hello
My AWS config file is setup with 2 profiles, one of then is "assumeRole" and "MFA":
When using the --profile dev, it crashes: