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

Add support for getting EC2 metadata through IMDSv2. #1808

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

trhodeos
Copy link
Contributor

@trhodeos trhodeos commented Apr 19, 2024

Right now, getting EC2 metadata is silently broken for IMDSv2. The APIs are the same, except IMDSv2 requires a token before calling the "metadata" API.

This PR adds support for getting the IMDSv2 token, and falls back to using no token if it isn't available.

@savingoyal savingoyal merged commit afda8a0 into Netflix:master Apr 19, 2024
31 of 34 checks passed
@trhodeos trhodeos deleted the tr.imdsv2 branch April 19, 2024 16:49
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

Successfully merging this pull request may close these issues.

2 participants