Oops. Didn't file the bug correctly. I've looked into the locating the sources for the package / python script.
https://git.launchpad.net/cloud-utils/tree/bin/ec2metadata Indeed this doesn't have support for IMDSv2 session tokens. This github gist has support for it: https://gist.github.com/fred-vogt/9c2e773fdacf12e71260c71e7fd17e68 I'll submit a patch shortly. ** Summary changed: - cloud-guest-utils ec2metadata doesn't support AWS EC2 IMDSv2 + ec2metadata doesn't support AWS EC2 IMDSv2 ** Project changed: launchpad => cloud-utils (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882389 Title: ec2metadata doesn't support AWS EC2 IMDSv2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-utils/+bug/1882389/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs