Closed FedorMutovin-flatstack closed 1 year ago
I'm not sure off hand. Looking at what you have here it looks like fog is trying to connect to 169.254.169.254:80
vs curl which appears to be using 169.254.170.2
. The different in the 4th group and the explicit port could both be sources of the differences. I don't have any direct experience with using ECS this way though, so it's all a bit speculative from my perspective. Could those issues be part of the problem, or maybe it's something else altogether?
I'm trying to run the ecs task with this config:
and keep getting this error
but I see that I can get credentials by
curl 169.254.170.2$AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
and I'm not clear on what connect(2) argument might mean in this case.