{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/aws-beanstalk-publisher-plugin/issues/27","repository_url":"https://api.github.com/repos/jenkinsci/aws-beanstalk-publisher-plugin","labels_url":"https://api.github.com/repos/jenkinsci/aws-beanstalk-publisher-plugin/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/aws-beanstalk-publisher-plugin/issues/27/comments","events_url":"https://api.github.com/repos/jenkinsci/aws-beanstalk-publisher-plugin/issues/27/events","html_url":"https://github.com/jenkinsci/aws-beanstalk-publisher-plugin/issues/27","id":151334024,"number":27,"title":"Cannot use this plugin when i dont have access to CREATE s3 bucket","user":{"login":"jibin-tj","id":1309726,"avatar_url":"https://avatars.githubusercontent.com/u/1309726?v=3","gravatar_id":"","url":"https://api.github.com/users/jibin-tj","html_url":"https://github.com/jibin-tj","followers_url":"https://api.github.com/users/jibin-tj/followers","following_url":"https://api.github.com/users/jibin-tj/following{/other_user}","gists_url":"https://api.github.com/users/jibin-tj/gists{/gist_id}","starred_url":"https://api.github.com/users/jibin-tj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jibin-tj/subscriptions","organizations_url":"https://api.github.com/users/jibin-tj/orgs","repos_url":"https://api.github.com/users/jibin-tj/repos","events_url":"https://api.github.com/users/jibin-tj/events{/privacy}","received_events_url":"https://api.github.com/users/jibin-tj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-04-27T09:02:26Z","updated_at":"2016-09-29T14:21:25Z","closed_at":"2016-09-29T14:21:25Z","body":"My IAM policy restricts creating s3 buckets,but i can put objects in existing buckets. When trying to deploy the code, i get a the following error\r\n`com.amazonaws.services.elasticbeanstalk.model.InsufficientPrivilegesException:You do not have permission to perform the 's3:CreateBucket' action. Verify that your S3 policies and your ACLs allow you to perform these actions. (Service: AWSElasticBeanstalk; Status Code: 403; Error Code: InsufficientPrivilegesException; Request ID: 175c4f6d-0c3e-11e6-bb6f-e18e70ceaeaa) at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:1307) at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:894) at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:597) at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:363) at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:329) at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:308) at com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient.invoke(AWSElasticBeanstalkClient.java:2039) at com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient.updateEnvironment(AWSElasticBeanstalkClient.java:1924) at org.jenkinsci.plugins.awsbeanstalkpublisher.AWSEBEnvironmentUpdaterThread.updateEnv(AWSEBEnvironmentUpdaterThread.java:82) at org.jenkinsci.plugins.awsbeanstalkpublisher.AWSEBEnvironmentUpdaterThread.run(AWSEBEnvironmentUpdaterThread.java:215) at org.jenkinsci.plugins.awsbeanstalkpublisher.AWSEBEnvironmentUpdaterThread.call(AWSEBEnvironmentUpdaterThread.java:185) at org.jenkinsci.plugins.awsbeanstalkpublisher.AWSEBEnvironmentUpdaterThread.call(AWSEBEnvironmentUpdaterThread.java:21) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)`\r\n\r\nDoes this error occurs because the plugin tries to insert the code to some temporary s3 bucket.\r\nIn short ,i need to use this plugin even though i don't have createbucket privilege"},"comment":{"url":"https://api.github.com/repos/jenkinsci/aws-beanstalk-publisher-plugin/issues/comments/250480339","html_url":"https://github.com/jenkinsci/aws-beanstalk-publisher-plugin/issues/27#issuecomment-250480339","issue_url":"https://api.github.com/repos/jenkinsci/aws-beanstalk-publisher-plugin/issues/27","id":250480339,"user":{"login":"DavidTanner","id":368889,"avatar_url":"https://avatars.githubusercontent.com/u/368889?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidTanner","html_url":"https://github.com/DavidTanner","followers_url":"https://api.github.com/users/DavidTanner/followers","following_url":"https://api.github.com/users/DavidTanner/following{/other_user}","gists_url":"https://api.github.com/users/DavidTanner/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidTanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidTanner/subscriptions","organizations_url":"https://api.github.com/users/DavidTanner/orgs","repos_url":"https://api.github.com/users/DavidTanner/repos","events_url":"https://api.github.com/users/DavidTanner/events{/privacy}","received_events_url":"https://api.github.com/users/DavidTanner/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T14:21:25Z","updated_at":"2016-09-29T14:21:25Z","body":"It may be because you don't already have a bucket in S3, so they try to do it for you.  Make sure the bucket already exists before the job runs."}}
{"actor":{"display_login":"DavidTanner"}}