{"action":"created","issue":{"url":"https://api.github.com/repos/phstc/shoryuken/issues/180","repository_url":"https://api.github.com/repos/phstc/shoryuken","labels_url":"https://api.github.com/repos/phstc/shoryuken/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/phstc/shoryuken/issues/180/comments","events_url":"https://api.github.com/repos/phstc/shoryuken/issues/180/events","html_url":"https://github.com/phstc/shoryuken/issues/180","id":133513426,"number":180,"title":":region option not passed to AWS client?","user":{"login":"vemv","id":1162994,"avatar_url":"https://avatars.githubusercontent.com/u/1162994?v=3","gravatar_id":"","url":"https://api.github.com/users/vemv","html_url":"https://github.com/vemv","followers_url":"https://api.github.com/users/vemv/followers","following_url":"https://api.github.com/users/vemv/following{/other_user}","gists_url":"https://api.github.com/users/vemv/gists{/gist_id}","starred_url":"https://api.github.com/users/vemv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vemv/subscriptions","organizations_url":"https://api.github.com/users/vemv/orgs","repos_url":"https://api.github.com/users/vemv/repos","events_url":"https://api.github.com/users/vemv/events{/privacy}","received_events_url":"https://api.github.com/users/vemv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-14T06:48:13Z","updated_at":"2016-04-28T20:05:56Z","closed_at":null,"body":"Hey there!\r\n\r\nDespite I set `region: foo` in my shoryuken.yml, this option doesn't always get passed to the AWS client, as I understand it. The AWS_REGION env var is attempted to be read instead.\r\n\r\n**Background**\r\n\r\nI recently decided to leave AWS_REGION unset. That's what triggered the error. But no errors should happen, given that I already explicitly set the region in shoryuken.yml\r\n\r\n**Backtrace**\r\n\r\nhttps://gist.github.com/vemv/7a61fb5959e91abede46\r\n\r\n**Workaround**\r\n\r\nCreate a Rails initializer with:\r\n\r\n`Aws.config[:region] = 'foo'`"},"comment":{"url":"https://api.github.com/repos/phstc/shoryuken/issues/comments/215546174","html_url":"https://github.com/phstc/shoryuken/issues/180#issuecomment-215546174","issue_url":"https://api.github.com/repos/phstc/shoryuken/issues/180","id":215546174,"user":{"login":"phstc","id":105652,"avatar_url":"https://avatars.githubusercontent.com/u/105652?v=3","gravatar_id":"","url":"https://api.github.com/users/phstc","html_url":"https://github.com/phstc","followers_url":"https://api.github.com/users/phstc/followers","following_url":"https://api.github.com/users/phstc/following{/other_user}","gists_url":"https://api.github.com/users/phstc/gists{/gist_id}","starred_url":"https://api.github.com/users/phstc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phstc/subscriptions","organizations_url":"https://api.github.com/users/phstc/orgs","repos_url":"https://api.github.com/users/phstc/repos","events_url":"https://api.github.com/users/phstc/events{/privacy}","received_events_url":"https://api.github.com/users/phstc/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T20:05:56Z","updated_at":"2016-04-28T20:05:56Z","body":"Hi @alexpjohnson, are you facing the same issue?\r\n\r\n[Here](https://github.com/phstc/shoryuken/blob/bf65b6e90bd6648279c89eeaafeb3f21cbbfd1c1/lib/shoryuken/client.rb#L35) it isn't erasing an existing variable `options`, it's creating a new one."}}