{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-cli/issues/1777","repository_url":"https://api.github.com/repos/aws/aws-cli","labels_url":"https://api.github.com/repos/aws/aws-cli/issues/1777/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-cli/issues/1777/comments","events_url":"https://api.github.com/repos/aws/aws-cli/issues/1777/events","html_url":"https://github.com/aws/aws-cli/issues/1777","id":132190513,"node_id":"MDU6SXNzdWUxMzIxOTA1MTM=","number":1777,"title":"How to describe instances from all regions?","user":{"login":"ApproximateIdentity","id":2095718,"node_id":"MDQ6VXNlcjIwOTU3MTg=","avatar_url":"https://avatars3.githubusercontent.com/u/2095718?v=4","gravatar_id":"","url":"https://api.github.com/users/ApproximateIdentity","html_url":"https://github.com/ApproximateIdentity","followers_url":"https://api.github.com/users/ApproximateIdentity/followers","following_url":"https://api.github.com/users/ApproximateIdentity/following{/other_user}","gists_url":"https://api.github.com/users/ApproximateIdentity/gists{/gist_id}","starred_url":"https://api.github.com/users/ApproximateIdentity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ApproximateIdentity/subscriptions","organizations_url":"https://api.github.com/users/ApproximateIdentity/orgs","repos_url":"https://api.github.com/users/ApproximateIdentity/repos","events_url":"https://api.github.com/users/ApproximateIdentity/events{/privacy}","received_events_url":"https://api.github.com/users/ApproximateIdentity/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-02-08T16:36:38Z","updated_at":"2018-12-06T21:07:23Z","closed_at":"2016-02-08T18:05:18Z","author_association":"NONE","body":"I'm trying to switch my workflow over to the cli from the aws control panel, but I've run into a very odd issue. I know how to describe instances within a region, but how do I describe all of my instances irrespective of regions? Or at least get an output of all ec2 regions so I can do this programmatically one by one (i.e. something like `aws ec2 list-regions`).\n\nIt's very odd because the cli seems to use different names for regions than the control panel. For one, apparently all of my instances are being started in region \"us-west-2\" (at least so far), but I cannot find that string anywhere in the control panel. In fact, I can't seem to find anywhere listing my default region at all.\n\nIs there a command inside of aws that does this?\n"},"comment":{"url":"https://api.github.com/repos/aws/aws-cli/issues/comments/445029756","html_url":"https://github.com/aws/aws-cli/issues/1777#issuecomment-445029756","issue_url":"https://api.github.com/repos/aws/aws-cli/issues/1777","id":445029756,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTAyOTc1Ng==","user":{"login":"obijan42","id":5740769,"node_id":"MDQ6VXNlcjU3NDA3Njk=","avatar_url":"https://avatars2.githubusercontent.com/u/5740769?v=4","gravatar_id":"","url":"https://api.github.com/users/obijan42","html_url":"https://github.com/obijan42","followers_url":"https://api.github.com/users/obijan42/followers","following_url":"https://api.github.com/users/obijan42/following{/other_user}","gists_url":"https://api.github.com/users/obijan42/gists{/gist_id}","starred_url":"https://api.github.com/users/obijan42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obijan42/subscriptions","organizations_url":"https://api.github.com/users/obijan42/orgs","repos_url":"https://api.github.com/users/obijan42/repos","events_url":"https://api.github.com/users/obijan42/events{/privacy}","received_events_url":"https://api.github.com/users/obijan42/received_events","type":"User","site_admin":false},"created_at":"2018-12-06T21:07:23Z","updated_at":"2018-12-06T21:07:23Z","author_association":"NONE","body":"> For those of you who also don't want to parse JSON with your eyeballs, here's an appended version that uses [jq](https://stedolan.github.io/jq/) to give you a bit more-to-the-point summary.\r\n\r\n[aws cli supports the \"query\" parameter](https://docs.aws.amazon.com/cli/latest/userguide/controlling-output.html#controlling-output-filter), which does this stuff as a build-in."}}
{"actor":{"display_login":"obijan42"}}