-
Notifications
You must be signed in to change notification settings - Fork 131
Description
Hi,
I'm using your image for some automation and it worked great for a year or more but the new version of the image stopped working.
I was using the latest tag:
mesosphere/aws-cli latest f699e09bef16 10 months ago 97.8MB
and running this command inside:
aws ec2 associate-address --instance-id `wget -qO- http://169.254.169.254/latest/meta-data/instance-id` --allocation-id #ID# --allow-reassociation
Everything was fine but now with the new version I'm getting:
wget: error getting response
The same is for 1.11.188.
The problem seems to be this part: wget -qO- http://169.254.169.254/latest/meta-data/instance-id.
To replicate it you need to run it on AWS ec2 so it will have access to AWS meta-data url.
I've copied your working version to my docker hub account just to have a working image:
https://hub.docker.com/r/trandel/aws-cli/
I hope you will have some time to look at it.
Regards