Using IMDS (v2) with token inside docker on EC2 or ECS
I'd like to use IMDSv2 inside a container running on an EC2 instance. I want to use the tokens because they are required in my metadata options: metadata_options { http_tokens = "required" http_endpoint = "enabled" } Calling the API from…