awsdocs / amazon-ecs-developer-guide

The open source version of the Amazon ECS developer guide. You can submit feedback & requests for changes by submitting issues in this repo or by making proposed changes & submitting a pull request.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to access the instance metadata API from ECS tasks on Windows

leefinfor opened this issue · comments

It is not possible to get instance metadata from a task started with ECS, the container is unable to access the metadata from the host.

Invoke-WebRequest http://169.254.169.254/latest/meta-data/instance-id -UseBasicParsing

I've processed the pull request.