You have been subscribed to a public bug: AWS EC2 Metadata Service v2 uses session tokens:
Basic flow: obtain a session token with a PUT request IMDSv2_TOKEN=$(curl -X PUT -H "X-aws-ec2-metadata-token-ttl-seconds: 30" -sL "http://169.254.169.254/latest/api/token") IMDSv2_HEADER="-H X-aws-ec2-metadata-token:${IMDSv2_TOKEN}" Send the session token when querying curl -fs $IMDSv2_HEADER http://169.254.169.254/latest/.../ ** Affects: cloud-utils (Ubuntu) Importance: Undecided Status: New -- ec2metadata doesn't support AWS EC2 IMDSv2 https://bugs.launchpad.net/bugs/1882389 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
