{"action":"opened","number":4315,"pull_request":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/4315","id":53604491,"html_url":"https://github.com/hashicorp/terraform/pull/4315","diff_url":"https://github.com/hashicorp/terraform/pull/4315.diff","patch_url":"https://github.com/hashicorp/terraform/pull/4315.patch","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/4315","number":4315,"state":"open","locked":false,"title":"aws_s3_bucket: Retry MalformedPolicy errors due to newly created principals","user":{"login":"vancluever","id":10704423,"avatar_url":"https://avatars.githubusercontent.com/u/10704423?v=3","gravatar_id":"","url":"https://api.github.com/users/vancluever","html_url":"https://github.com/vancluever","followers_url":"https://api.github.com/users/vancluever/followers","following_url":"https://api.github.com/users/vancluever/following{/other_user}","gists_url":"https://api.github.com/users/vancluever/gists{/gist_id}","starred_url":"https://api.github.com/users/vancluever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vancluever/subscriptions","organizations_url":"https://api.github.com/users/vancluever/orgs","repos_url":"https://api.github.com/users/vancluever/repos","events_url":"https://api.github.com/users/vancluever/events{/privacy}","received_events_url":"https://api.github.com/users/vancluever/received_events","type":"User","site_admin":false},"body":"Reference #4103 for errors and background, this fix uses current pattern. Retry `MalformedPolicy` errors on S3 bucket policy apply for 1 minute to ensure that errors are not due to newly created IAM resources.\r\n","created_at":"2015-12-14T18:43:52Z","updated_at":"2015-12-14T18:43:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hashicorp/terraform/pulls/4315/commits","review_comments_url":"https://api.github.com/repos/hashicorp/terraform/pulls/4315/comments","review_comment_url":"https://api.github.com/repos/hashicorp/terraform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/4315/comments","statuses_url":"https://api.github.com/repos/hashicorp/terraform/statuses/559aa50a318d454e363df8d8aeaa9b2f8f96a3c8","head":{"label":"paybyphone:paybyphone_s3bucketpolicywaiter","ref":"paybyphone_s3bucketpolicywaiter","sha":"559aa50a318d454e363df8d8aeaa9b2f8f96a3c8","user":{"login":"paybyphone","id":1854628,"avatar_url":"https://avatars.githubusercontent.com/u/1854628?v=3","gravatar_id":"","url":"https://api.github.com/users/paybyphone","html_url":"https://github.com/paybyphone","followers_url":"https://api.github.com/users/paybyphone/followers","following_url":"https://api.github.com/users/paybyphone/following{/other_user}","gists_url":"https://api.github.com/users/paybyphone/gists{/gist_id}","starred_url":"https://api.github.com/users/paybyphone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paybyphone/subscriptions","organizations_url":"https://api.github.com/users/paybyphone/orgs","repos_url":"https://api.github.com/users/paybyphone/repos","events_url":"https://api.github.com/users/paybyphone/events{/privacy}","received_events_url":"https://api.github.com/users/paybyphone/received_events","type":"Organization","site_admin":false},"repo":{"id":46995446,"name":"terraform","full_name":"paybyphone/terraform","owner":{"login":"paybyphone","id":1854628,"avatar_url":"https://avatars.githubusercontent.com/u/1854628?v=3","gravatar_id":"","url":"https://api.github.com/users/paybyphone","html_url":"https://github.com/paybyphone","followers_url":"https://api.github.com/users/paybyphone/followers","following_url":"https://api.github.com/users/paybyphone/following{/other_user}","gists_url":"https://api.github.com/users/paybyphone/gists{/gist_id}","starred_url":"https://api.github.com/users/paybyphone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paybyphone/subscriptions","organizations_url":"https://api.github.com/users/paybyphone/orgs","repos_url":"https://api.github.com/users/paybyphone/repos","events_url":"https://api.github.com/users/paybyphone/events{/privacy}","received_events_url":"https://api.github.com/users/paybyphone/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/paybyphone/terraform","description":"Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.","fork":true,"url":"https://api.github.com/repos/paybyphone/terraform","forks_url":"https://api.github.com/repos/paybyphone/terraform/forks","keys_url":"https://api.github.com/repos/paybyphone/terraform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paybyphone/terraform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paybyphone/terraform/teams","hooks_url":"https://api.github.com/repos/paybyphone/terraform/hooks","issue_events_url":"https://api.github.com/repos/paybyphone/terraform/issues/events{/number}","events_url":"https://api.github.com/repos/paybyphone/terraform/events","assignees_url":"https://api.github.com/repos/paybyphone/terraform/assignees{/user}","branches_url":"https://api.github.com/repos/paybyphone/terraform/branches{/branch}","tags_url":"https://api.github.com/repos/paybyphone/terraform/tags","blobs_url":"https://api.github.com/repos/paybyphone/terraform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paybyphone/terraform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paybyphone/terraform/git/refs{/sha}","trees_url":"https://api.github.com/repos/paybyphone/terraform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paybyphone/terraform/statuses/{sha}","languages_url":"https://api.github.com/repos/paybyphone/terraform/languages","stargazers_url":"https://api.github.com/repos/paybyphone/terraform/stargazers","contributors_url":"https://api.github.com/repos/paybyphone/terraform/contributors","subscribers_url":"https://api.github.com/repos/paybyphone/terraform/subscribers","subscription_url":"https://api.github.com/repos/paybyphone/terraform/subscription","commits_url":"https://api.github.com/repos/paybyphone/terraform/commits{/sha}","git_commits_url":"https://api.github.com/repos/paybyphone/terraform/git/commits{/sha}","comments_url":"https://api.github.com/repos/paybyphone/terraform/comments{/number}","issue_comment_url":"https://api.github.com/repos/paybyphone/terraform/issues/comments{/number}","contents_url":"https://api.github.com/repos/paybyphone/terraform/contents/{+path}","compare_url":"https://api.github.com/repos/paybyphone/terraform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paybyphone/terraform/merges","archive_url":"https://api.github.com/repos/paybyphone/terraform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paybyphone/terraform/downloads","issues_url":"https://api.github.com/repos/paybyphone/terraform/issues{/number}","pulls_url":"https://api.github.com/repos/paybyphone/terraform/pulls{/number}","milestones_url":"https://api.github.com/repos/paybyphone/terraform/milestones{/number}","notifications_url":"https://api.github.com/repos/paybyphone/terraform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paybyphone/terraform/labels{/name}","releases_url":"https://api.github.com/repos/paybyphone/terraform/releases{/id}","created_at":"2015-11-27T19:00:58Z","updated_at":"2015-11-27T19:01:04Z","pushed_at":"2015-12-14T18:42:17Z","git_url":"git://github.com/paybyphone/terraform.git","ssh_url":"git@github.com:paybyphone/terraform.git","clone_url":"https://github.com/paybyphone/terraform.git","svn_url":"https://github.com/paybyphone/terraform","homepage":"http://www.terraform.io","size":31309,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hashicorp:master","ref":"master","sha":"86882e39edae2894dd3dc832d98ac84e722fed00","user":{"login":"hashicorp","id":761456,"avatar_url":"https://avatars.githubusercontent.com/u/761456?v=3","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"repo":{"id":17728164,"name":"terraform","full_name":"hashicorp/terraform","owner":{"login":"hashicorp","id":761456,"avatar_url":"https://avatars.githubusercontent.com/u/761456?v=3","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hashicorp/terraform","description":"Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.","fork":false,"url":"https://api.github.com/repos/hashicorp/terraform","forks_url":"https://api.github.com/repos/hashicorp/terraform/forks","keys_url":"https://api.github.com/repos/hashicorp/terraform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashicorp/terraform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashicorp/terraform/teams","hooks_url":"https://api.github.com/repos/hashicorp/terraform/hooks","issue_events_url":"https://api.github.com/repos/hashicorp/terraform/issues/events{/number}","events_url":"https://api.github.com/repos/hashicorp/terraform/events","assignees_url":"https://api.github.com/repos/hashicorp/terraform/assignees{/user}","branches_url":"https://api.github.com/repos/hashicorp/terraform/branches{/branch}","tags_url":"https://api.github.com/repos/hashicorp/terraform/tags","blobs_url":"https://api.github.com/repos/hashicorp/terraform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashicorp/terraform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashicorp/terraform/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashicorp/terraform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashicorp/terraform/statuses/{sha}","languages_url":"https://api.github.com/repos/hashicorp/terraform/languages","stargazers_url":"https://api.github.com/repos/hashicorp/terraform/stargazers","contributors_url":"https://api.github.com/repos/hashicorp/terraform/contributors","subscribers_url":"https://api.github.com/repos/hashicorp/terraform/subscribers","subscription_url":"https://api.github.com/repos/hashicorp/terraform/subscription","commits_url":"https://api.github.com/repos/hashicorp/terraform/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashicorp/terraform/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashicorp/terraform/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashicorp/terraform/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashicorp/terraform/contents/{+path}","compare_url":"https://api.github.com/repos/hashicorp/terraform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashicorp/terraform/merges","archive_url":"https://api.github.com/repos/hashicorp/terraform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashicorp/terraform/downloads","issues_url":"https://api.github.com/repos/hashicorp/terraform/issues{/number}","pulls_url":"https://api.github.com/repos/hashicorp/terraform/pulls{/number}","milestones_url":"https://api.github.com/repos/hashicorp/terraform/milestones{/number}","notifications_url":"https://api.github.com/repos/hashicorp/terraform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashicorp/terraform/labels{/name}","releases_url":"https://api.github.com/repos/hashicorp/terraform/releases{/id}","created_at":"2014-03-13T22:25:48Z","updated_at":"2015-12-14T18:31:43Z","pushed_at":"2015-12-14T17:19:01Z","git_url":"git://github.com/hashicorp/terraform.git","ssh_url":"git@github.com:hashicorp/terraform.git","clone_url":"https://github.com/hashicorp/terraform.git","svn_url":"https://github.com/hashicorp/terraform","homepage":"http://www.terraform.io","size":50071,"stargazers_count":3573,"watchers_count":3573,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":891,"mirror_url":null,"open_issues_count":777,"forks":891,"open_issues":777,"watchers":3573,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/4315"},"html":{"href":"https://github.com/hashicorp/terraform/pull/4315"},"issue":{"href":"https://api.github.com/repos/hashicorp/terraform/issues/4315"},"comments":{"href":"https://api.github.com/repos/hashicorp/terraform/issues/4315/comments"},"review_comments":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/4315/comments"},"review_comment":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/4315/commits"},"statuses":{"href":"https://api.github.com/repos/hashicorp/terraform/statuses/559aa50a318d454e363df8d8aeaa9b2f8f96a3c8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":18,"deletions":1,"changed_files":1}}