[BUG] AWS Metdata fails when IMDSv2 is enabled #65513
Labels
Bug
broken, incorrect, or confusing behavior
Chlorine v3007.0
Duplicate
Duplicate of another issue or PR - will be closed
Milestone
Description
If an AWS instance is running in an environment where IMDSv2 is enabled then the metadata grain will fail with a 401 Unauthorized error.
Setup
Create an instance in an AWS environment where IMDSv2 is enabled. On that instance enable the
metadata_server_grains
grain in the minion configuration.Steps to Reproduce the behavior
Query the grains on the running instance.
Expected behavior
AWS Metadata grains should be returned.
The text was updated successfully, but these errors were encountered: