{"action":"created","issue":{"url":"https://api.github.com/repos/zalando-stups/senza/issues/237","repository_url":"https://api.github.com/repos/zalando-stups/senza","labels_url":"https://api.github.com/repos/zalando-stups/senza/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/zalando-stups/senza/issues/237/comments","events_url":"https://api.github.com/repos/zalando-stups/senza/issues/237/events","html_url":"https://github.com/zalando-stups/senza/pull/237","id":160518446,"number":237,"title":"Add validation of '--region' param","user":{"login":"kenden","id":480586,"avatar_url":"https://avatars.githubusercontent.com/u/480586?v=3","gravatar_id":"","url":"https://api.github.com/users/kenden","html_url":"https://github.com/kenden","followers_url":"https://api.github.com/users/kenden/followers","following_url":"https://api.github.com/users/kenden/following{/other_user}","gists_url":"https://api.github.com/users/kenden/gists{/gist_id}","starred_url":"https://api.github.com/users/kenden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenden/subscriptions","organizations_url":"https://api.github.com/users/kenden/orgs","repos_url":"https://api.github.com/users/kenden/repos","events_url":"https://api.github.com/users/kenden/events{/privacy}","received_events_url":"https://api.github.com/users/kenden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-15T20:39:45Z","updated_at":"2016-06-16T07:03:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zalando-stups/senza/pulls/237","html_url":"https://github.com/zalando-stups/senza/pull/237","diff_url":"https://github.com/zalando-stups/senza/pull/237.diff","patch_url":"https://github.com/zalando-stups/senza/pull/237.patch"},"body":"Fixes https://github.com/zalando-stups/senza/issues/233"},"comment":{"url":"https://api.github.com/repos/zalando-stups/senza/issues/comments/226404319","html_url":"https://github.com/zalando-stups/senza/pull/237#issuecomment-226404319","issue_url":"https://api.github.com/repos/zalando-stups/senza/issues/237","id":226404319,"user":{"login":"hjacobs","id":510328,"avatar_url":"https://avatars.githubusercontent.com/u/510328?v=3","gravatar_id":"","url":"https://api.github.com/users/hjacobs","html_url":"https://github.com/hjacobs","followers_url":"https://api.github.com/users/hjacobs/followers","following_url":"https://api.github.com/users/hjacobs/following{/other_user}","gists_url":"https://api.github.com/users/hjacobs/gists{/gist_id}","starred_url":"https://api.github.com/users/hjacobs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjacobs/subscriptions","organizations_url":"https://api.github.com/users/hjacobs/orgs","repos_url":"https://api.github.com/users/hjacobs/repos","events_url":"https://api.github.com/users/hjacobs/events{/privacy}","received_events_url":"https://api.github.com/users/hjacobs/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T07:03:15Z","updated_at":"2016-06-16T07:03:15Z","body":"@kenden I'm just wondering what the goal is?\r\n\r\n* extra AWS API call is just adding unnecessary overhead/latency\r\n* regex validation or enumeration of regions is cumbersome to maintain --- the old `boto` library had a hardcoded list of regions and we had to patch it to support the new Frankfurt region\r\n\r\nWhere do you see the problem of not having validation (first AWS call will show the error)? Do you mistype your region frequently? I would advice putting your region in `~/.aws/config` or having something like this in `.bashrc` to switch between two of them:\r\n\r\n```bash\r\nalias west='export AWS_DEFAULT_REGION=eu-west-1'\r\nalias central='export AWS_DEFAULT_REGION=eu-central-1'\r\n"}}
{"actor":{"display_login":"hjacobs"}}