{"action":"closed","issue":{"url":"https://api.github.com/repos/adamchainz/ec2-metadata/issues/59","repository_url":"https://api.github.com/repos/adamchainz/ec2-metadata","labels_url":"https://api.github.com/repos/adamchainz/ec2-metadata/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/adamchainz/ec2-metadata/issues/59/comments","events_url":"https://api.github.com/repos/adamchainz/ec2-metadata/issues/59/events","html_url":"https://github.com/adamchainz/ec2-metadata/issues/59","id":302320717,"number":59,"title":"is it possible to use ec2_metadata from lambda?","user":{"login":"lots2learn","id":37039609,"avatar_url":"https://avatars2.githubusercontent.com/u/37039609?v=4","gravatar_id":"","url":"https://api.github.com/users/lots2learn","html_url":"https://github.com/lots2learn","followers_url":"https://api.github.com/users/lots2learn/followers","following_url":"https://api.github.com/users/lots2learn/following{/other_user}","gists_url":"https://api.github.com/users/lots2learn/gists{/gist_id}","starred_url":"https://api.github.com/users/lots2learn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lots2learn/subscriptions","organizations_url":"https://api.github.com/users/lots2learn/orgs","repos_url":"https://api.github.com/users/lots2learn/repos","events_url":"https://api.github.com/users/lots2learn/events{/privacy}","received_events_url":"https://api.github.com/users/lots2learn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-05T14:29:35Z","updated_at":"2018-03-05T14:54:40Z","closed_at":"2018-03-05T14:54:40Z","author_association":"NONE","body":"Hi Adam,\r\n\r\nI stumbled on your code after having issues querying metadata in lambda. I'm always getting a 'connection refused' (both using requests to query the metadata directly and using your library). I can understand if it's a security issue AWS have put in place as with lambda you're using a shared tenancy, but i'm not sure. Do you know what the limitation is and do you know if and how this can be solved?\r\n\r\nThanks,\r\nMarcel"}}
{"actor":{"display_login":"adamchainz"}}