{"action":"opened","number":53,"pull_request":{"url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/pulls/53","id":227763792,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3NzYzNzky","html_url":"https://github.com/akshaykarle/terraform-provider-mongodbatlas/pull/53","diff_url":"https://github.com/akshaykarle/terraform-provider-mongodbatlas/pull/53.diff","patch_url":"https://github.com/akshaykarle/terraform-provider-mongodbatlas/pull/53.patch","issue_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/issues/53","number":53,"state":"open","locked":false,"title":"Use mutex on IP Whitelist delete","user":{"login":"mmindenhall","id":1106269,"node_id":"MDQ6VXNlcjExMDYyNjk=","avatar_url":"https://avatars3.githubusercontent.com/u/1106269?v=4","gravatar_id":"","url":"https://api.github.com/users/mmindenhall","html_url":"https://github.com/mmindenhall","followers_url":"https://api.github.com/users/mmindenhall/followers","following_url":"https://api.github.com/users/mmindenhall/following{/other_user}","gists_url":"https://api.github.com/users/mmindenhall/gists{/gist_id}","starred_url":"https://api.github.com/users/mmindenhall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmindenhall/subscriptions","organizations_url":"https://api.github.com/users/mmindenhall/orgs","repos_url":"https://api.github.com/users/mmindenhall/repos","events_url":"https://api.github.com/users/mmindenhall/events{/privacy}","received_events_url":"https://api.github.com/users/mmindenhall/received_events","type":"User","site_admin":false},"body":"I filed an earlier issue (#31), which was fixed with PR #33.  The fix in #33 introduced a mutex on IP Whitelist create operations to enforce sequential API calls.  We also see that during terraform destroy of our environment, some IP Whitelist entries are not deleted.  I suspect it's the same problem as with the create (i.e., race condition in the Atlas API), so I added the mutex to delete operations as well.","created_at":"2018-11-01T21:21:48Z","updated_at":"2018-11-01T21:21:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/pulls/53/commits","review_comments_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/pulls/53/comments","review_comment_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/issues/53/comments","statuses_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/statuses/d8f5d6adca39f8751eca5a12ca5adff992245e1c","head":{"label":"mmindenhall:master","ref":"master","sha":"d8f5d6adca39f8751eca5a12ca5adff992245e1c","user":{"login":"mmindenhall","id":1106269,"node_id":"MDQ6VXNlcjExMDYyNjk=","avatar_url":"https://avatars3.githubusercontent.com/u/1106269?v=4","gravatar_id":"","url":"https://api.github.com/users/mmindenhall","html_url":"https://github.com/mmindenhall","followers_url":"https://api.github.com/users/mmindenhall/followers","following_url":"https://api.github.com/users/mmindenhall/following{/other_user}","gists_url":"https://api.github.com/users/mmindenhall/gists{/gist_id}","starred_url":"https://api.github.com/users/mmindenhall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmindenhall/subscriptions","organizations_url":"https://api.github.com/users/mmindenhall/orgs","repos_url":"https://api.github.com/users/mmindenhall/repos","events_url":"https://api.github.com/users/mmindenhall/events{/privacy}","received_events_url":"https://api.github.com/users/mmindenhall/received_events","type":"User","site_admin":false},"repo":{"id":144749833,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ3NDk4MzM=","name":"terraform-provider-mongodbatlas","full_name":"mmindenhall/terraform-provider-mongodbatlas","private":false,"owner":{"login":"mmindenhall","id":1106269,"node_id":"MDQ6VXNlcjExMDYyNjk=","avatar_url":"https://avatars3.githubusercontent.com/u/1106269?v=4","gravatar_id":"","url":"https://api.github.com/users/mmindenhall","html_url":"https://github.com/mmindenhall","followers_url":"https://api.github.com/users/mmindenhall/followers","following_url":"https://api.github.com/users/mmindenhall/following{/other_user}","gists_url":"https://api.github.com/users/mmindenhall/gists{/gist_id}","starred_url":"https://api.github.com/users/mmindenhall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmindenhall/subscriptions","organizations_url":"https://api.github.com/users/mmindenhall/orgs","repos_url":"https://api.github.com/users/mmindenhall/repos","events_url":"https://api.github.com/users/mmindenhall/events{/privacy}","received_events_url":"https://api.github.com/users/mmindenhall/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mmindenhall/terraform-provider-mongodbatlas","description":"Terraform provider for MongoDB Atlas","fork":true,"url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas","forks_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/forks","keys_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/teams","hooks_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/hooks","issue_events_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/issues/events{/number}","events_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/events","assignees_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/assignees{/user}","branches_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/branches{/branch}","tags_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/tags","blobs_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/git/refs{/sha}","trees_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/statuses/{sha}","languages_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/languages","stargazers_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/stargazers","contributors_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/contributors","subscribers_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/subscribers","subscription_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/subscription","commits_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/commits{/sha}","git_commits_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/git/commits{/sha}","comments_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/comments{/number}","issue_comment_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/issues/comments{/number}","contents_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/contents/{+path}","compare_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/merges","archive_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/downloads","issues_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/issues{/number}","pulls_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/pulls{/number}","milestones_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/milestones{/number}","notifications_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/labels{/name}","releases_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/releases{/id}","deployments_url":"https://api.github.com/repos/mmindenhall/terraform-provider-mongodbatlas/deployments","created_at":"2018-08-14T17:08:30Z","updated_at":"2018-11-01T21:17:47Z","pushed_at":"2018-11-01T21:17:40Z","git_url":"git://github.com/mmindenhall/terraform-provider-mongodbatlas.git","ssh_url":"git@github.com:mmindenhall/terraform-provider-mongodbatlas.git","clone_url":"https://github.com/mmindenhall/terraform-provider-mongodbatlas.git","svn_url":"https://github.com/mmindenhall/terraform-provider-mongodbatlas","homepage":null,"size":2757,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"akshaykarle:master","ref":"master","sha":"5eabe28d3fb015ef5535e49d8caf3d8eeb91bbb1","user":{"login":"akshaykarle","id":1443108,"node_id":"MDQ6VXNlcjE0NDMxMDg=","avatar_url":"https://avatars3.githubusercontent.com/u/1443108?v=4","gravatar_id":"","url":"https://api.github.com/users/akshaykarle","html_url":"https://github.com/akshaykarle","followers_url":"https://api.github.com/users/akshaykarle/followers","following_url":"https://api.github.com/users/akshaykarle/following{/other_user}","gists_url":"https://api.github.com/users/akshaykarle/gists{/gist_id}","starred_url":"https://api.github.com/users/akshaykarle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akshaykarle/subscriptions","organizations_url":"https://api.github.com/users/akshaykarle/orgs","repos_url":"https://api.github.com/users/akshaykarle/repos","events_url":"https://api.github.com/users/akshaykarle/events{/privacy}","received_events_url":"https://api.github.com/users/akshaykarle/received_events","type":"User","site_admin":false},"repo":{"id":116325088,"node_id":"MDEwOlJlcG9zaXRvcnkxMTYzMjUwODg=","name":"terraform-provider-mongodbatlas","full_name":"akshaykarle/terraform-provider-mongodbatlas","private":false,"owner":{"login":"akshaykarle","id":1443108,"node_id":"MDQ6VXNlcjE0NDMxMDg=","avatar_url":"https://avatars3.githubusercontent.com/u/1443108?v=4","gravatar_id":"","url":"https://api.github.com/users/akshaykarle","html_url":"https://github.com/akshaykarle","followers_url":"https://api.github.com/users/akshaykarle/followers","following_url":"https://api.github.com/users/akshaykarle/following{/other_user}","gists_url":"https://api.github.com/users/akshaykarle/gists{/gist_id}","starred_url":"https://api.github.com/users/akshaykarle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akshaykarle/subscriptions","organizations_url":"https://api.github.com/users/akshaykarle/orgs","repos_url":"https://api.github.com/users/akshaykarle/repos","events_url":"https://api.github.com/users/akshaykarle/events{/privacy}","received_events_url":"https://api.github.com/users/akshaykarle/received_events","type":"User","site_admin":false},"html_url":"https://github.com/akshaykarle/terraform-provider-mongodbatlas","description":"Terraform provider for MongoDB Atlas","fork":false,"url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas","forks_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/forks","keys_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/teams","hooks_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/hooks","issue_events_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/issues/events{/number}","events_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/events","assignees_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/assignees{/user}","branches_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/branches{/branch}","tags_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/tags","blobs_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/git/refs{/sha}","trees_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/statuses/{sha}","languages_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/languages","stargazers_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/stargazers","contributors_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/contributors","subscribers_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/subscribers","subscription_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/subscription","commits_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/commits{/sha}","git_commits_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/git/commits{/sha}","comments_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/comments{/number}","issue_comment_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/issues/comments{/number}","contents_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/contents/{+path}","compare_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/merges","archive_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/downloads","issues_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/issues{/number}","pulls_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/pulls{/number}","milestones_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/milestones{/number}","notifications_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/labels{/name}","releases_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/releases{/id}","deployments_url":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/deployments","created_at":"2018-01-05T01:24:22Z","updated_at":"2018-10-31T08:49:56Z","pushed_at":"2018-10-16T12:25:56Z","git_url":"git://github.com/akshaykarle/terraform-provider-mongodbatlas.git","ssh_url":"git@github.com:akshaykarle/terraform-provider-mongodbatlas.git","clone_url":"https://github.com/akshaykarle/terraform-provider-mongodbatlas.git","svn_url":"https://github.com/akshaykarle/terraform-provider-mongodbatlas","homepage":null,"size":3135,"stargazers_count":47,"watchers_count":47,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":17,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":23,"open_issues":17,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/pulls/53"},"html":{"href":"https://github.com/akshaykarle/terraform-provider-mongodbatlas/pull/53"},"issue":{"href":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/issues/53"},"comments":{"href":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/akshaykarle/terraform-provider-mongodbatlas/statuses/d8f5d6adca39f8751eca5a12ca5adff992245e1c"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":6,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"mmindenhall"}}