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

Getting strange EC2 instance role error [BUG] #9

Open
jaglade opened this issue Aug 4, 2020 · 3 comments
Open

Getting strange EC2 instance role error [BUG] #9

jaglade opened this issue Aug 4, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@jaglade
Copy link

jaglade commented Aug 4, 2020

Describe the bug
When executing cirrus I get the following error:

[ERROR] Cirrus encountered a fatal error: EC2RoleRequestError: no EC2 instance role found caused by: exceeded maximum number of attempts, 3, request send failed, Get "http://169.254.169.254/latest/meta-data/iam/security-credentials/": dial tcp 169.254.169.254:80: connect: host is down

If it matters - I am using aws2-wrap since I am using aws sso.

To Reproduce
Steps to reproduce the behavior:

  1. Login with aws sso
  2. execute aws2-wrap cirrus up --stack cirrus

Expected behavior
Cirrus creates the stack as expected

@jaglade jaglade added the bug Something isn't working label Aug 4, 2020
@TheDanBlanco
Copy link
Contributor

this is tied to the following ticket. until this resolves we can't fix it

aws/aws-sdk-go-v2#705

@jaglade
Copy link
Author

jaglade commented Mar 4, 2021

Got a notification that the V2 go sdk resolves the issue. aws/aws-sdk-go-v2#705

@TheDanBlanco
Copy link
Contributor

this requires an update to the latest version which according to aws/aws-sdk-go-v2#1111 is missing the waiters for cloudformation. sadly, this is still blocked until that gets resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants