ec2-metadata
ec2-metadata copied to clipboard
An easy interface to query the EC2 metadata API, with caching.
Results
4
ec2-metadata issues
Sort by
recently updated
recently updated
newest added
### Python Version 3.9.13 ### Package Version 2.10.0 ### Description I tried use ec2-metadata inside docker container with bridge mode. Curl "169.254.169.254" got ok but ec2-metadata raised error "requests.exceptions.ReadTimeout: HTTPConnectionPool(host='169.254.169.254',...
Provides a simple mechanism to override the `service_url` via the environment variable (`EC2METADATA_SERVICE_URL`) which in turn makes developing/experimenting with `ec2_metadata` a little easier. For example ``` export EC2METADATA_SERVICE_URL="http://127.0.0.1:8888/latest/" ``` Which...
### Description It's available on `http://169.254.169.254/latest/meta-data/instance-life-cycle`