Once it's removed from discover (see #983 (comment)), we won't be using it, and I don't really think anyone else should be either. It's not reliable: it can produce false negatives (returns False on VPCs that don't have DNS enabled) and false positives (could return True if you put a fake IMDS-looking service on your network).
It will also be hard to keep it consistent with configurable IMDS endpoints (#1030).
Once it's removed from
discover(see #983 (comment)), we won't be using it, and I don't really think anyone else should be either. It's not reliable: it can produce false negatives (returnsFalseon VPCs that don't have DNS enabled) and false positives (could returnTrueif you put a fake IMDS-looking service on your network).It will also be hard to keep it consistent with configurable IMDS endpoints (#1030).