EC2 IMDS is Unstable During Early Boot: Always Retry

In Detect and fix rare cases where the primary ENI does not serve default traffic , we used IMDS "meta-data/mac" to get the primary ENI's MAC address. However, we encountered the following errors in 0.5% of EC2 ARM instance launches: 1failed to get IMDS /mac: operation error ec2imds: GetMetadata, exceeded maximum number of attempts, 3, 2http response error StatusCode: 401, request to EC2 IMDS…