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

Support IMDSv2 in tag-volume.config #167

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hayd
Copy link
Contributor

@hayd hayd commented Aug 15, 2023

Issue #, if available:

AWS is moving towards a preference of IMDSv2. I suspect it's easy to check that box, and not support IMDSv1, and get a cryptic/deployment failure without an output reason.

Description of changes:

This passes a token inline to each metadata curl call so as to support IMDSv2.

Obviously this could be written with a single token, but putting it inline is a straightforward and testable single-line way...

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Note: I am the original author of tag-volume.config. #152

This passes a token inline to each metadata curl call.

Obviously this could be written with a single token, but this is a straightforward and testable single-line way...
@hayd hayd closed this Aug 15, 2023
@hayd hayd reopened this Aug 15, 2023
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.

None yet

1 participant