{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/11737","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/11737/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/11737/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/11737/events","html_url":"https://github.com/hashicorp/terraform/pull/11737","id":205812127,"number":11737,"title":"WIP: providers/google: restore_policy supports update","user":{"login":"evandbrown","id":656941,"avatar_url":"https://avatars.githubusercontent.com/u/656941?v=3","gravatar_id":"","url":"https://api.github.com/users/evandbrown","html_url":"https://github.com/evandbrown","followers_url":"https://api.github.com/users/evandbrown/followers","following_url":"https://api.github.com/users/evandbrown/following{/other_user}","gists_url":"https://api.github.com/users/evandbrown/gists{/gist_id}","starred_url":"https://api.github.com/users/evandbrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evandbrown/subscriptions","organizations_url":"https://api.github.com/users/evandbrown/orgs","repos_url":"https://api.github.com/users/evandbrown/repos","events_url":"https://api.github.com/users/evandbrown/events{/privacy}","received_events_url":"https://api.github.com/users/evandbrown/received_events","type":"User","site_admin":false},"labels":[{"id":135750563,"url":"https://api.github.com/repos/hashicorp/terraform/labels/provider/google-cloud","name":"provider/google-cloud","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-07T07:48:48Z","updated_at":"2017-02-07T23:02:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/11737","html_url":"https://github.com/hashicorp/terraform/pull/11737","diff_url":"https://github.com/hashicorp/terraform/pull/11737.diff","patch_url":"https://github.com/hashicorp/terraform/pull/11737.patch"},"body":"The initial version of google_project_iam_policy would capture an IAM\r\npolicy that could be restored (for non-authoritative resources), but it\r\nwould only do this on create. If the policy drifted outside of Terraform\r\nafter create, the originaly restore_policy would be applied on an\r\nupdate, removing the out-of-band changes.\r\n\r\nThis change makes non-authoritative google_project_iam_policy resources\r\ntruly non-destructive. The restore_policy is recalculated on update and\r\ndelete, ensuring that only the policy_data is removed from a project's\r\nIAM policy.\r\n\r\nFixes #11736"},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/278173071","html_url":"https://github.com/hashicorp/terraform/pull/11737#issuecomment-278173071","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/11737","id":278173071,"user":{"login":"paddyforan","id":59249,"avatar_url":"https://avatars.githubusercontent.com/u/59249?v=3","gravatar_id":"","url":"https://api.github.com/users/paddyforan","html_url":"https://github.com/paddyforan","followers_url":"https://api.github.com/users/paddyforan/followers","following_url":"https://api.github.com/users/paddyforan/following{/other_user}","gists_url":"https://api.github.com/users/paddyforan/gists{/gist_id}","starred_url":"https://api.github.com/users/paddyforan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paddyforan/subscriptions","organizations_url":"https://api.github.com/users/paddyforan/orgs","repos_url":"https://api.github.com/users/paddyforan/repos","events_url":"https://api.github.com/users/paddyforan/events{/privacy}","received_events_url":"https://api.github.com/users/paddyforan/received_events","type":"User","site_admin":false},"created_at":"2017-02-07T23:02:04Z","updated_at":"2017-02-07T23:02:04Z","body":"Fair enough! I will never turn down moar acceptance tests."}}
{"actor":{"display_login":"paddyforan"}}