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

fix(ec_2_handler): use auth if on IMDSv2 #15

Merged
merged 1 commit into from
Jun 30, 2022
Merged

Conversation

GMishx
Copy link
Member

@GMishx GMishx commented Jun 29, 2022

If ec2 instance is using IMDSv2, get authentication token before trying to get instance info.

Closes #14

@GMishx GMishx force-pushed the fix/imdsv2/change-calls branch 2 times, most recently from 8b5507c to f674495 Compare June 30, 2022 08:29
Signed-off-by: Gaurav Mishra <mishra.gaurav@siemens.com>
@GMishx GMishx merged commit 078bafb into master Jun 30, 2022
@GMishx GMishx deleted the fix/imdsv2/change-calls branch June 30, 2022 08:54
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.

Update code to identify if running on EC2
1 participant