-
Notifications
You must be signed in to change notification settings - Fork 823
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Migrate EC2 Plugin Resource Detector from IMDSv1 to IMDSv2 (#1408)
* feat: temporarily added EC2 resource detector * feat: update EC2 Resource Detector to IDMSv2 and modified detect-resource * chore: fix weird package dependency changing * chore: add final line for packages * chore: modify descriptive type for _fetchString options * chore: remove unused variables * chore: modified test name * refactor: replace request header with constant variables * chore: modify comment * refactor: remove HTTP_HEADER constant * refactor: make time out value constant * chore: revise the naming to IMDSv2 Co-authored-by: Bartlomiej Obecny <[email protected]> Co-authored-by: Daniel Dyla <[email protected]>
- Loading branch information
1 parent
739462d
commit 1f8c365
Showing
3 changed files
with
167 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters