Skip to content

Conversation

@siddsriv
Copy link
Contributor

Issue

#7285

Description

Ensure port value can be set and respected for IMDS requests.

Testing

New unit tests:

 ✓ MetadataService Custom Ports > should use custom port from endpoint URL in request() 1ms
   ✓ MetadataService Custom Ports > should use custom port from endpoint URL in fetchMetadataToken() 0ms
   ✓ MetadataService Custom Ports > should use undefined port for standard HTTP endpoint 0ms
   ✓ MetadataService Custom Ports > should use custom HTTPS port from endpoint URL 0ms

 Test Files  1 passed (1)
      Tests  16 passed (16)

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

@siddsriv siddsriv merged commit 0d8b7ea into main Dec 11, 2025
9 of 10 checks passed
@siddsriv siddsriv deleted the ec2-mds-port-fix branch December 11, 2025 20:28
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.

2 participants