{"action":"created","issue":{"url":"https://api.github.com/repos/KnpLabs/KnpGaufretteBundle/issues/88","labels_url":"https://api.github.com/repos/KnpLabs/KnpGaufretteBundle/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/KnpLabs/KnpGaufretteBundle/issues/88/comments","events_url":"https://api.github.com/repos/KnpLabs/KnpGaufretteBundle/issues/88/events","html_url":"https://github.com/KnpLabs/KnpGaufretteBundle/issues/88","id":32283138,"number":88,"title":"Please add clear documentation for s3 regions","user":{"login":"codecowboy","id":178432,"avatar_url":"https://avatars.githubusercontent.com/u/178432?v=3","gravatar_id":"","url":"https://api.github.com/users/codecowboy","html_url":"https://github.com/codecowboy","followers_url":"https://api.github.com/users/codecowboy/followers","following_url":"https://api.github.com/users/codecowboy/following{/other_user}","gists_url":"https://api.github.com/users/codecowboy/gists{/gist_id}","starred_url":"https://api.github.com/users/codecowboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecowboy/subscriptions","organizations_url":"https://api.github.com/users/codecowboy/orgs","repos_url":"https://api.github.com/users/codecowboy/repos","events_url":"https://api.github.com/users/codecowboy/events{/privacy}","received_events_url":"https://api.github.com/users/codecowboy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-04-26T06:25:42Z","updated_at":"2015-09-29T00:22:12Z","closed_at":null,"body":"I had hours of pain getting the S3 adapter talking to the eu-west-1 region.\r\n\r\nPlease add detailed instructions for setting regions in the documentation.\r\n\r\nhttp://stackoverflow.com/questions/23307332/error-when-attempting-upload-to-s3-with-gaufrette/23307443#23307443"},"comment":{"url":"https://api.github.com/repos/KnpLabs/KnpGaufretteBundle/issues/comments/143909425","html_url":"https://github.com/KnpLabs/KnpGaufretteBundle/issues/88#issuecomment-143909425","issue_url":"https://api.github.com/repos/KnpLabs/KnpGaufretteBundle/issues/88","id":143909425,"user":{"login":"sc0rp10","id":597762,"avatar_url":"https://avatars.githubusercontent.com/u/597762?v=3","gravatar_id":"","url":"https://api.github.com/users/sc0rp10","html_url":"https://github.com/sc0rp10","followers_url":"https://api.github.com/users/sc0rp10/followers","following_url":"https://api.github.com/users/sc0rp10/following{/other_user}","gists_url":"https://api.github.com/users/sc0rp10/gists{/gist_id}","starred_url":"https://api.github.com/users/sc0rp10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sc0rp10/subscriptions","organizations_url":"https://api.github.com/users/sc0rp10/orgs","repos_url":"https://api.github.com/users/sc0rp10/repos","events_url":"https://api.github.com/users/sc0rp10/events{/privacy}","received_events_url":"https://api.github.com/users/sc0rp10/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T00:22:12Z","updated_at":"2015-09-29T00:22:12Z","body":"+1\r\nAlso, there is an error with credentials:\r\n```\r\nservices:\r\n    acme.aws_s3.client:\r\n        class: Aws\\S3\\S3Client\r\n        factory_class: Aws\\S3\\S3Client\r\n        factory_method: 'factory'\r\n        arguments:\r\n            -\r\n                key: %amazon_s3.key%\r\n                secret: %amazon_s3.secret%\r\n                region: %amazon_s3.region%\r\n```\r\nIsn't correct; correct config looks like:\r\n```\r\nservices:\r\n    acme.aws_s3.client:\r\n        class: Aws\\S3\\S3Client\r\n        factory_class: Aws\\S3\\S3Client\r\n        factory_method: 'factory'\r\n        arguments:\r\n            -\r\n                credentials: # <-----\r\n                    key: %amazon_s3.key%\r\n                    secret: %amazon_s3.secret%\r\n```\r\nat https://github.com/KnpLabs/KnpGaufretteBundle#defining-services-1"}}