Skip to content

[master] Use token when necessary for AWS Metadata Grain#65512

Merged
dwoz merged 10 commits into
saltstack:masterfrom
garethgreenaway:aws_metadata_use_token
Dec 16, 2023
Merged

[master] Use token when necessary for AWS Metadata Grain#65512
dwoz merged 10 commits into
saltstack:masterfrom
garethgreenaway:aws_metadata_use_token

Conversation

@garethgreenaway

@garethgreenaway garethgreenaway commented Nov 3, 2023

Copy link
Copy Markdown
Contributor

What does this PR do?

Account for situation where the metadata grain fails because the AWS environment requires an authentication token to query the metadata URL.

What issues does this PR fix or reference?

Fixes: TBA

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

…environment requires an authentication token to query the metadata URL.
@garethgreenaway garethgreenaway requested a review from a team as a code owner November 3, 2023 20:45
@garethgreenaway garethgreenaway requested review from Ch3LL and removed request for a team November 3, 2023 20:45
@salt-project-bot-prod-environment salt-project-bot-prod-environment Bot changed the title Use token when necessary for AWS Metadata Grain [master] Use token when necessary for AWS Metadata Grain Nov 3, 2023
dmurphy18
dmurphy18 previously approved these changes Dec 14, 2023
Comment thread tests/pytests/unit/grains/test_metadata.py Outdated
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.

[BUG] AWS Metdata fails when IMDSv2 is enabled

5 participants