-
Notifications
You must be signed in to change notification settings - Fork 453
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
Update ec2_metadata to use IMDSV2 (Continued from #1457) #1520
Conversation
…ouble spec client
Signed-off-by: wilkosz <joshua@wilkosz.com.au>
get token once Signed-off-by: sawanoboly <sawanoboriyu@higanworks.com> add new context: when metadata service is disabled
I'd love to see this get merged, it's the one remaining thing we have making IMDSv1 requests still. |
Yes please, +1 |
@sawanoboly Any chance you can take a look at the test failures. It may also help to rebase this on master. |
Signed-off-by: sawanoboly <sawanoboriyu@higanworks.com>
At the time of 15bfc27 the test was successful, taking over a PR that did not pass. I'll try to sort out the differences from the current master, as the changes are difficult to understand. |
Signed-off-by: sawanoboly <sawanoboriyu@higanworks.com>
@tas50 Thanks for notify, All checks have passed now. |
@tas50 - this seems sane? |
We'll need to validate this against and existing aws setup once it hits chef 17 |
Reflected the comments on the pull request in #1457.
I have confirmed that this works with an EC2 instance with IMDSv2 only enabled.
Here's a quote from the original PR by @wilkosz
Agenda
Fix
Description
Related Issue
Types of changes
Checklist: