Skip to content

1.5.15

@dpakpak dpakpak tagged this 07 Mar 00:21
The IMDS base URL was hardcoded to the IPv4 link-local address
(169.254.169.254), causing instance initialization to fail on
IPv6-only networks. SSH key injection and metadata retrieval
would silently fail since the endpoint was unreachable.

Resolve the IMDS endpoint at runtime by trying IPv4 first and
falling back to the IPv6 endpoint (fd00:ec2::254). Also support
the EC2_METADATA_SERVICE_ENDPOINT_MODE environment variable for
explicit override, consistent with the AWS SDK convention.
Assets 2
Loading